Button

Graphical user interface of Telegram-bots seems simple, but «The devil is in the details»:

  • How to serialize data into Button?

  • How to deserialize callback query after catch Button click?

  • How to determine what Button was clicked?

  • How to protect Button action from fake callback query?