All Projects → xLinkOut → telegram-udf-autoit

xLinkOut / telegram-udf-autoit

Licence: GPL-3.0 License
🚀 Telegram Bot UDF for AutoIt.

Programming Languages

AutoIt
60 projects

Projects that are alternatives of or similar to telegram-udf-autoit

webhook-aiogram-heroku
A sample telegram bot made with aiogram, that fetches updates using the web-hook connection. Can be easily deployed to Heroku.
Stars: ✭ 36 (-5.26%)
Mutual labels:  telegram-bot
Python-BlackJackBot
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Stars: ✭ 48 (+26.32%)
Mutual labels:  telegram-bot
MIRROR-HUNTER
Who are we? We are the Hunters of all Torrent in this world.🗡️.Fork from SlamDevs
Stars: ✭ 86 (+126.32%)
Mutual labels:  telegram-bot
technopsyna
телеграм бот для техноконфы
Stars: ✭ 16 (-57.89%)
Mutual labels:  telegram-bot
memes-reposter
bot for automatic broadcasting content into telegrams channels from reddit/imgur/rss
Stars: ✭ 35 (-7.89%)
Mutual labels:  telegram-bot
Komi-San
Telegram Group Management Bot based on Pyrogram
Stars: ✭ 27 (-28.95%)
Mutual labels:  telegram-bot
luxmed-bot
Non official telegram bot for Portal Pacjenta LUX MED
Stars: ✭ 24 (-36.84%)
Mutual labels:  telegram-bot
datmusicbot
simple telegram bot for datmusic
Stars: ✭ 27 (-28.95%)
Mutual labels:  telegram-bot
WilliamButcherBot
Telegram Group Manager Bot Written In Python Using Pyrogram.
Stars: ✭ 187 (+392.11%)
Mutual labels:  telegram-bot
ESPecial
ESP32 automation with web interface and telegram bot
Stars: ✭ 77 (+102.63%)
Mutual labels:  telegram-bot
Telegram-UserBot
Abandoned.. Moved to https://github.com/TeamDerUntergang/Telegram-SedenUserBot
Stars: ✭ 38 (+0%)
Mutual labels:  telegram-bot
really-simple-telegram-bot
Example of php telegram bot, for medium article
Stars: ✭ 13 (-65.79%)
Mutual labels:  telegram-bot
RoboThief-Telegram-Session-Stealer
Robo Thief is a software for steal telegram session .
Stars: ✭ 18 (-52.63%)
Mutual labels:  telegram-bot
TechFusionFM
Static site for tech podcast built using Hexo.io with deployment script, XML escaper and iTunes rank tracking Telegram bot.
Stars: ✭ 20 (-47.37%)
Mutual labels:  telegram-bot
foxbot
Telegram bot for finding furry image sources and inline mirroring
Stars: ✭ 25 (-34.21%)
Mutual labels:  telegram-bot
telegramBotUtilities
A simple java library that allows you to manage your telegram bots. It allows you also to use inline queries, inline keyboards and the methods included in Telegram bots api 2.0.The only requirements to contribute to this repository is to follow Java Code Conventions and produce javadocs :). For tutorials and examples:
Stars: ✭ 20 (-47.37%)
Mutual labels:  telegram-bot
AmimeWatch
Telegram bot made in Python 3 using the @pyrogram framework.
Stars: ✭ 19 (-50%)
Mutual labels:  telegram-bot
caligo
SelfBot for Telegram
Stars: ✭ 34 (-10.53%)
Mutual labels:  telegram-bot
Harmonbot
Multi-Platform Factotum Bot
Stars: ✭ 30 (-21.05%)
Mutual labels:  telegram-bot
sz-rose-bot
szrose is an all in one group management bot made for managing your group effectively with some advance security tools & Suit For All Your Needs ❤️
Stars: ✭ 26 (-31.58%)
Mutual labels:  telegram-bot

Telegram UDFs for AutoIt


If you want to control your Telegram Bot with AutoIt, this is for you!

Telegram UDF is on the official AutoIt Script UDFs list! Check it here!

Setup

Telegram.au3 is the main file that you have to include in your code, but it also need the include folder. Adjust the path as you want. Include the library in your script with #include "Telegram.au3".

First initialize your bot with _InitBot(12345678:AbCdEfGh....), then you can use all the bot functions. Check the @error flag after invoking _InitBot() (or its return value) to make sure everything is working: @error == 1 mean error, and in this case the _InitBot() return False.

How it works

After initializing the bot, you can do whatever you need to do. (Almost) all the APIs are coded, read the wiki for details about all the functions. To put the bot in polling state (i.e. wait for incoming messages) read below.

How to wait for incoming messages

To wait incoming messages you have to put the bot in Polling State. This state is blocking, therefore your script will wait here until it's closed or it exit from the main while, maybe if a certain condition is verified.

Example:

While 1 ;Create a While that restart Polling
	$msgData = _Polling() ;_Polling function return an array with information about a message
	_SendMsg($msgData[2],$msgData[5]) ;Send a message to the same user with the same text
WEnd

For a simple text message, the array returned by _Polling() is:

$msgData[0] = Offset of the current update (used to 'switch' to the next update)
$msgData[1] = Message ID
$msgData[2] = Chat ID, use for interact with the user
$msgData[3] = Username of the user
$msgData[4] = First name of the user
$msgData[5] = Text of the message

If you want to try all the available features, use the Test file into /tests folder. Open it, insert your bot's token, your chat id (make sure you have sent at least one message to the bot) and then execute it.

What you need to know

I'm writing a wiki, you can find it here.

Credits

Legal

License: GPL v3.0 © : Feel free to use this code and adapt it to your software; just mention this page if you share your software (free or paid). This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Telegram and/or AutoIt or any of its affiliates or subsidiaries. This is independent and unofficial. Use at your own risk.

About

If you want to donate for support my (future) works, use this: https://www.paypal.me/LCirillo. ❤️

For support, just contact me! Enjoy 🎉

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].