Closed TangMonk closed 1 year ago
I found there is bot can send dialog to me:
When click inline keyboard, it send me a dialog, is it new in telegram api? Dose telebot support this?
This is Alert. Only for Callbacks. Example.
// ShowAlert sends a text response for the current callback query.
func (b *Bot) ShowAlert(c tele.Context, text string) error {
resp := &tele.CallbackResponse{
Text: text,
ShowAlert: true,
}
return c.Respond(resp)
}
thanks, it is awesome
I found there is bot can send dialog to me:
When click inline keyboard, it send me a dialog, is it new in telegram api? Dose telebot support this?