telegram-bot-api
telegram-bot-api copied to clipboard
answer inline query
hello I need help answering inline query, no functional, no constructor, nothing! Please show me a code sample of answering inline query if possible.
Check out wiki
https://github.com/go-telegram-bot-api/telegram-bot-api/wiki/Simple-Inline-Keyboard
hello I need help answering inline query, no functional, no constructor, nothing! Please show me a code sample of answering inline query if possible.
CallbackConfig is the response type for CallbackQueries. Here's an example on how to use it:
responseMsg := tgbotapi.NewCallbackWithAlert(update.CallbackQuery.ID, "A callback response")
if _, err := bot.Request(responseMsg); err != nil {
log.Panic(err)
}