github.com/tada-team/tdproto@v1.51.57/tdapi/botcommands.go (about)

     1  package tdapi
     2  
     3  // Bot commands list
     4  type BotCommands []BotCommand
     5  
     6  // Bot commands information
     7  type BotCommand struct {
     8  	// What should be inserted to the chat
     9  	Key string `json:"key"`
    10  
    11  	// What should be visible by user
    12  	Title string `json:"title"`
    13  
    14  	// Command options, if any
    15  	Args []string `json:"args"`
    16  }