mirror of
https://github.com/usememos/memos.git
synced 2024-11-16 19:56:11 +08:00
4d59689126
* Add telegram.Bot in MessageHandler * Change single message handler like group messages * Move message notify wrapper from plugin to server * Add keyboard buttons on Telegram reply message * Add support to telegram CallbackQuery update * Set visibility in callbackQuery * Change original reply message after callbackQuery --------- Co-authored-by: Athurg Feng <athurg@gooth.org>
6 lines
134 B
Go
6 lines
134 B
Go
package telegram
|
|
|
|
type InlineKeyboardButton struct {
|
|
Text string `json:"text"`
|
|
CallbackData string `json:"callback_data"`
|
|
}
|