setMyCommands implemented
This commit is contained in:
parent
b263943220
commit
4a2c8c4547
2 changed files with 21 additions and 0 deletions
6
types.go
6
types.go
|
@ -1005,3 +1005,9 @@ type Error struct {
|
|||
func (e Error) Error() string {
|
||||
return e.Message
|
||||
}
|
||||
|
||||
// BotCommand represents a bot command.
|
||||
type BotCommand struct {
|
||||
Command string `json:"command"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue