Closed LBreda closed 8 years ago
Following
@LBreda @kamikazechaser You can use answerCallbackQuery
method in api for that:
tg.api.answerCallbackQuery(callbackId, options)
callback: (callbackQuery) => {
$.sendMessage('*Some Stuff Here*', {
parse_mode: 'Markdown'
})
tg.api.answerCallbackQuery(callbackId, { text: 'Showing Help', show_alert: true })
Am i doing it right? Cause it doesnt seem to be working for me
following
@kamikazechaser What is callbackId
?
@LBreda Unique identifier for the query to be answered
@kamikazechaser try callbackQuery.id
, it works for me.
Worked like a charm!
Thanks very cool
Hi,
I can't understand how to reply to a inline button, making the spinner disappear. In the previous version, I did it with tg.answerCallbackQuery($.id)