callback_query.go 495 B

12345678910111213
  1. package telegram
  2. // CallbackQuery represents an incoming callback query from a callback button in
  3. // an inline keyboard (PUBLIC, PROTECTED, PRIVATE).
  4. type CallbackQuery struct {
  5. ID string `json:"id"`
  6. From User `json:"from"`
  7. Message *Message `json:"message"`
  8. InlineMessageID string `json:"inline_message_id"`
  9. ChatInstance string `json:"chat_instance"`
  10. Data string `json:"data"`
  11. GameShortName string `json:"game_short_name"`
  12. }