Avoid breaking change with GetMyCommands.

This commit is contained in:
Syfaro 2021-08-20 01:27:42 -04:00
parent 66dc9e8246
commit 1198abda6d
3 changed files with 8 additions and 8 deletions

View file

@ -888,11 +888,6 @@ func NewBotCommandScopeChatMember(chatID, userID int64) BotCommandScope {
}
}
// NewGetMyCommands allows you to set the registered commands.
func NewGetMyCommands() GetMyCommandsConfig {
return GetMyCommandsConfig{}
}
// NewGetMyCommandsWithScope allows you to set the registered commands for a
// given scope.
func NewGetMyCommandsWithScope(scope BotCommandScope) GetMyCommandsConfig {