Skip to content
Luca edited this page Oct 15, 2017 · 2 revisions

Welcome to the telegram-udf-autoit wiki!

  • _InitBot: Initialize bot (require BotID and BotTOKEN);
  • _Polling: Wait for incoming messages;
  • _GetUpdates: Get new messages from Telegram Server (Return a string);
  • _GetMe: Get information about the bot (Return a string);
  • _SendMsg: Send simple text message (support Markdown/HTML, Keyboard ecc...)(Return True);
  • _ForwardMsg: Forward a message from a chat to another(Return True);
  • _SendPhoto: Send a photo to a specific chat (Return file ID);
  • _SendVideo: Send a video to a specific chat (Return file ID);
  • _SendAudio: Send an audio to a specific chat (Return file ID);
  • _SendDocument: Send a document to a specific chat (Return file ID);
  • _SendVoice: Send a voice to a specific chat (Return file ID);
  • _SendSticker: Send a sticker to a specific chat (Return file ID);
  • _SendChatAction: Set the 'Chat Action' for 5 seconds (Typing, Sending photo...)(Return True);
  • _SendLocation: Send a location (Return True);
  • _SendContact: Send a contact with Phone and First Name (Return True);
  • _GetUserProfilePhotos: Get the user profile pictures (Return an Array with the FileID of each photo);
  • _GetChat: Get information about specific chat (Return a string with info);
  • _GetFileID: Get FileID of a the file uploaded(Return a string);
  • _GetFilePath: Get the path of a specific file, require file ID (Return a string);
  • _DownloadFile: Download a file from the server, require file path (Return True);
  • _JSONDecode: Decode incoming message (Return an array with some information like chat ID ecc);
  • HttpPost and HttpGet: Helpful function to perform Get and Post request;
Clone this wiki locally