Add allowed_updates to GetUpdates
This commit is contained in:
parent
24d4f79474
commit
3b5c8a96d7
2 changed files with 54 additions and 4 deletions
2
bot.go
2
bot.go
|
@ -387,7 +387,7 @@ func (bot *BotAPI) GetFile(config FileConfig) (File, error) {
|
|||
// GetUpdates fetches updates.
|
||||
// If a WebHook is set, this will not return any data!
|
||||
//
|
||||
// Offset, Limit, and Timeout are optional.
|
||||
// Offset, Limit, Timeout, and AllowedUpdates are optional.
|
||||
// To avoid stale items, set Offset to one higher than the previous item.
|
||||
// Set Timeout to a large number to reduce requests so you can get updates
|
||||
// instantly instead of having to wait between requests.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue