2022-04-29 17:21:42 +08:00
|
|
|
package models
|
|
|
|
|
|
|
|
// BotCommand https://core.telegram.org/bots/api#botcommand
|
|
|
|
type BotCommand struct {
|
2022-04-30 00:04:38 +08:00
|
|
|
Command string `json:"command" rules:"min:1,max:32"`
|
|
|
|
Description string `json:"description" rules:"min:1,max:256"`
|
2022-04-29 17:21:42 +08:00
|
|
|
}
|
2023-03-14 16:26:55 +08:00
|
|
|
|
2023-04-24 14:11:48 +08:00
|
|
|
// BotName https://core.telegram.org/bots/api#botname
|
|
|
|
type BotName struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
}
|
|
|
|
|
2023-03-14 16:26:55 +08:00
|
|
|
// BotDescription https://core.telegram.org/bots/api#botdescription
|
|
|
|
type BotDescription struct {
|
|
|
|
Description string `json:"description"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// BotShortDescription https://core.telegram.org/bots/api#botshortdescription
|
|
|
|
type BotShortDescription struct {
|
|
|
|
ShortDescription string `json:"short_description"`
|
|
|
|
}
|