Avoid breaking change with GetMyCommands.
This commit is contained in:
parent
66dc9e8246
commit
1198abda6d
3 changed files with 8 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue