Add new chat methods for Bot API 2.1.
This commit is contained in:
parent
3ed6b6ac16
commit
217764ba45
5 changed files with 164 additions and 5 deletions
14
configs.go
14
configs.go
|
@ -675,3 +675,17 @@ type ChatMemberConfig struct {
|
|||
SuperGroupUsername string
|
||||
UserID int
|
||||
}
|
||||
|
||||
// ChatConfig contains information about getting information on a chat.
|
||||
type ChatConfig struct {
|
||||
ChatID int64
|
||||
SuperGroupUsername string
|
||||
}
|
||||
|
||||
// ChatConfigWithUser contains information about getting information on
|
||||
// a specific user within a chat.
|
||||
type ChatConfigWithUser struct {
|
||||
ChatID int64
|
||||
SuperGroupUsername string
|
||||
UserID int
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue