Documentation ¶
Index ¶
- Variables
- func CallbackQueryHandler(bot *tgbotapi.BotAPI, chatId int64, messageId int, replyMessageId int, ...)
- func CommmandHandler(bot *tgbotapi.BotAPI, chatId int64, command string, imgDir embed.FS, ...)
- func DiceHandler(bot *tgbotapi.BotAPI, chatId int64, messageId int, dice *tgbotapi.Dice)
- func FetchTask(botToken string, proxy string, ...)
- func InlineQueryHandler(bot *tgbotapi.BotAPI, inlineQueryId string, query string, fromId int64, ...)
- func UserTextHandler(bot *tgbotapi.BotAPI, chatId int64, chatType string, messageId int, ...)
- type TgUpdType
Constants ¶
This section is empty.
Variables ¶
View Source
var START_TEXT string = "初次见面,请多指教,我是图文并茂的gakki_say~ \n" +
"你可以使用我生成带文字的Gakki图片 \n" +
"我会根据emoji选择相应的Gakki图片并合成文字返回\n\n" +
"有2种使用方法:\n" +
" 1、私聊模式:私聊`发送 `emoji 你的文字`(注意emoji后有空格哦)\n" +
" 2、内联模式:任意聊天框里发送 `@gakki_say_bot emoji 你的文字`选择图片 \n" +
"\n" +
"现在,输入 '👍 元气' 试试看~ \n\n" +
"或者点击 '举个栗子' 快速体验\n" +
"贡献代码或素材请点击 '项目地址'\n"
Functions ¶
func CallbackQueryHandler ¶
func CommmandHandler ¶
func DiceHandler ¶
func InlineQueryHandler ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.