mirror of
https://github.com/tucnak/telebot
synced 2024-11-11 01:10:39 +00:00
19 lines
503 B
Go
19 lines
503 B
Go
package telebot
|
|
|
|
// WebApp represents a parameter of the inline keyboard button
|
|
// or the keyboard button used to launch Web App.
|
|
type WebApp struct {
|
|
URL string `json:"url"`
|
|
}
|
|
|
|
// WebAppMessage describes an inline message sent by a Web App on behalf of a user.
|
|
type WebAppMessage struct {
|
|
InlineMessageID string `json:"inline_message_id"`
|
|
}
|
|
|
|
// WebAppData object represents a data sent from a Web App to the bot
|
|
type WebAppData struct {
|
|
Data string `json:"data"`
|
|
Text string `json:"button_text"`
|
|
}
|