This userbot will auto-reply messages.
The bot will reply only if the message contains some specific words that you select it.
First, You should send /add
in Saved Messages.
Then send the text that if the user sent a message contains similar text.
At last send the reply.
- Git
- Visual Studio (2019 is suggested) (With C#)
- Open in Visual Studio and clone the repo
- Running
git clone https://github.com/Muaath5/TDLibBinaries.git
in a folder next to this repo's folder - Run the application
At first, You should set TELEGRAM_API_ID
and TELEGRAM_API_HASH
environment variables, Unless you'll get an error.
Or use API_ID
& API_HASH
parameters in running
After that, There are some parameters you can use:
NO_LOGS
: To disable TDLib logsDB_ALL
: To run all TDLib databasesTEST_DC
: To run TDLib in the test serversREPLY_WHEN_ONLINE
: If you set this parameter, The userbot will reply even if you're onlineNO_AUTO_REPLY_SIGNITURE
: There's a signiture of messages sent by the userbot, By this you can disable them
And you can use this parameters and after it enter a text
TELEGRAM_API_ID
orAPI_ID
: Your API ID.TELEGRAM_API_HASH
orAPI_HASH
: Your API HASH.LOG_LEVEL
: TDLib logging level, Between 0 and 1024NEW_AUTO_REPLY_SIGNITURE
: To choose new signiture
You can use it like this:
AutoReplyUserBot.exe /API_ID 123456 /API_HASH abcd1234 /TEST_DC /DB_ALL /NO_LOGS
Or like this:
AutoReplyUserBot.exe -API_ID 123456 -API_HASH abcd1234 -DB_ALL -NO_LOGS -REPLY_WHEN_ONLINE
And even without -
or /
:
AutoReplyUserBot.exe API_ID 123456 API_HASH abcd1234 NO_AUTO_REPLY_SIGNITURE TEST_DC
These commands can be used only in Saved Messages
/add
: To add new reply/state
: To get info about userbot/clear
: Delete all stored replies/cancel
: To cancel current operation/auto_replies
: Display all stored auto-replies/signature
: Edit/Disable messages signature/disallow_reply_when_online
: Disallow userbot to reply when user is online/allow_reply_when_online
: Allow userbot to reply when user is online/enable_groups
: Allows auto-reply in groups/disable_groups
: Disables auto-reply in groups
- Creating a repository contains built result of TDLib, And remove it from here.
- Adding ability to set API_ID & API_HASH in console without environment variable.
- Adding more options for auto-reply filtering
GPL 3.0