From d1a6532879e243ab3fcfbff095d5b015042b7b06 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 25 Oct 2016 00:19:54 +0200 Subject: [PATCH] Updated documentation --- index.html | 44 +++++++++++++++++++++++++++--------- params.json | 2 +- stylesheets/github-light.css | 42 +++++++++++++++++----------------- 3 files changed, 55 insertions(+), 33 deletions(-) diff --git a/index.html b/index.html index e45df06..bf07c46 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@ contact, because some users has similar usernames to botfather.

call it? Please choose a name for your bot.

  • Type whatever name you want for your bot.

  • @botfather replies with Good. Now let's choose a username for your -bot. It must end inbot. Like this, for example: TetrisBot or +bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.

  • Type whatever username you want for your bot, minimum 5 characters, and must end with bot. For example: telesample_bot

  • @@ -111,6 +111,8 @@ Then start editing the commands.

  • $MESSAGE: Incoming messages
  • +$MESSAGE[ID]: ID of incoming message
  • +
  • $CAPTION: Captions
  • $USER: This array contains the First name, last name, username and user id of the sender of the current message. @@ -127,6 +129,26 @@ Then start editing the commands.

  • +$CHAT: This array contains the First name, last name, username, title and user id of the chat of the current message. + + +
  • +
  • $URLS: This array contains documents, audio files, stickers, voice recordings and stickers stored in the form of URLs.