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

# precheckoutquery

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

Package precheckoutquery provides Filter helpers for \*api.PreCheckoutQuery payloads.

## Index

- [func Currency\(c string\) dispatch.Filter\[\*api.PreCheckoutQuery\]](<#Currency>)
- [func FromUser\(uid int64\) dispatch.Filter\[\*api.PreCheckoutQuery\]](<#FromUser>)


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

```go
func Currency(c string) dispatch.Filter[*api.PreCheckoutQuery]
```

Currency returns a Filter that matches pre\-checkout queries with the given ISO 4217 currency code \(e.g. "USD", "EUR", "XTR"\).

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

```go
func FromUser(uid int64) dispatch.Filter[*api.PreCheckoutQuery]
```

FromUser returns a Filter that matches pre\-checkout queries sent by the user with the given ID.

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