Add new chat methods for Bot API 2.1.

This commit is contained in:
Syfaro 2016-05-22 10:16:28 -05:00
parent 3ed6b6ac16
commit 217764ba45
5 changed files with 164 additions and 5 deletions

View file

@ -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
}