telegram-bot-api icon indicating copy to clipboard operation
telegram-bot-api copied to clipboard

Callbackdata not being read anymore

Open Etherdrake opened this issue 1 year ago • 3 comments

Some of my bots suddenly stopped working, apparently update.CallbackData now is not being read properly anymore. If I: fmt.Println(update.CallbackData()) I get nothing.

Furthermore:

if len(update.CallbackData()) == 0 { fmt.Println("Nothing received") } '

Prints 'Nothing received' although there actually is a string under the callback_data field.

Have I missed a change to the Telegram API that this function now seems broken (and should be corrected)?

Etherdrake avatar Mar 23 '23 20:03 Etherdrake