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

# chatjoinrequest

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

Package chatjoinrequest provides Filter helpers for \*api.ChatJoinRequest payloads.

## Index

- [func FromUser\(uid int64\) dispatch.Filter\[\*api.ChatJoinRequest\]](<#FromUser>)
- [func InChat\(cid int64\) dispatch.Filter\[\*api.ChatJoinRequest\]](<#InChat>)


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

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

FromUser returns a Filter that matches join requests where the requesting user's ID equals uid.

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

```go
func InChat(cid int64) dispatch.Filter[*api.ChatJoinRequest]
```

InChat returns a Filter that matches join requests directed at the chat with the given chat ID.

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