Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Telegram Bot

Telegram Bot

Chin Huat introducing Telegram app and bot programming to the team. This is presented in Inno Tech Bootcamp 2 on 6 July 2018.

#innoractive #inno1337 #ITBC2 #telegram #bot

Leong Hean Hong

July 06, 2018
Tweet

More Decks by Leong Hean Hong

Other Decks in Programming

Transcript

  1. Bot Platform u Released in June 2015 u Major update

    in April 2016 u Open to everyone u No approval process
  2. Telegram Bots u 1-1 conversations u Add to groups u

    Manage groups & channels u Access on-the-fly (inline bots)
  3. Differences with Humans u No online status and no last

    seen timestamps u Can’t initiate conversations with users u Bots have limited cloud storage u Username always end with ‘bot’ (e.g. @TriviaBot, @GitHub_bot) u When added to groups, bots do not receive all message by default
  4. Bot father u Create a new bot 1. /newbot 2.

    Enter name of bot: e.g. “Customer Support Bot” 3. Enter username e.g. CSuportBot 4. Store api token
  5. Bot Features:- u Inline Mode u Payment u Keyboards u

    Commands u Message Formatting u Location & phone number