<!-- Code generated by gomarkdoc. DO NOT EDIT -->

# inline

```go
import "github.com/lukaszraczylo/go-telegram/dispatch/filters/inline"
```

Package inline provides Filter helpers for \*api.InlineQuery payloads.

## Index

- [func Query\(pattern string\) dispatch.Filter\[\*api.InlineQuery\]](<#Query>)
- [func QueryEquals\(s string\) dispatch.Filter\[\*api.InlineQuery\]](<#QueryEquals>)
- [func QueryPrefix\(prefix string\) dispatch.Filter\[\*api.InlineQuery\]](<#QueryPrefix>)


<a name="Query"></a>
## func [Query](<https://github.com/lukaszraczylo/go-telegram/blob/main/dispatch/filters/inline/inline.go#L14>)

```go
func Query(pattern string) dispatch.Filter[*api.InlineQuery]
```

Query returns a Filter that matches inline queries whose Query field matches pattern \(regex\). Panics at registration time on an invalid pattern.

<a name="QueryEquals"></a>
## func [QueryEquals](<https://github.com/lukaszraczylo/go-telegram/blob/main/dispatch/filters/inline/inline.go#L23>)

```go
func QueryEquals(s string) dispatch.Filter[*api.InlineQuery]
```

QueryEquals returns a Filter that matches inline queries whose Query equals s exactly.

<a name="QueryPrefix"></a>
## func [QueryPrefix](<https://github.com/lukaszraczylo/go-telegram/blob/main/dispatch/filters/inline/inline.go#L31>)

```go
func QueryPrefix(prefix string) dispatch.Filter[*api.InlineQuery]
```

QueryPrefix returns a Filter that matches inline queries whose Query starts with prefix.

Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>)
