{"id":23169729,"url":"https://github.com/muaath5/autoreplyuserbot","last_synced_at":"2025-08-18T07:31:06.475Z","repository":{"id":45156517,"uuid":"439321743","full_name":"Muaath5/AutoReplyUserBot","owner":"Muaath5","description":"Auto-reply userbot in Telegram using TDLib \u0026 C#","archived":false,"fork":false,"pushed_at":"2022-01-04T17:55:40.000Z","size":33,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T23:12:39.939Z","etag":null,"topics":["csharp","dotnet","tdlib","telegram","userbot"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Muaath5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-17T12:15:36.000Z","updated_at":"2024-01-24T14:20:37.000Z","dependencies_parsed_at":"2022-08-25T15:12:13.894Z","dependency_job_id":null,"html_url":"https://github.com/Muaath5/AutoReplyUserBot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Muaath5/AutoReplyUserBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muaath5%2FAutoReplyUserBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muaath5%2FAutoReplyUserBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muaath5%2FAutoReplyUserBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muaath5%2FAutoReplyUserBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muaath5","download_url":"https://codeload.github.com/Muaath5/AutoReplyUserBot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muaath5%2FAutoReplyUserBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270961455,"owners_count":24675914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","tdlib","telegram","userbot"],"created_at":"2024-12-18T03:19:32.656Z","updated_at":"2025-08-18T07:31:06.208Z","avatar_url":"https://github.com/Muaath5.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Telegram Auto-reply userbot\nThis userbot will auto-reply messages.\t\n\n## How does the bot works?\nThe bot will reply only if the message contains some specific words that you select it.\n\n## How can I add replies?\nFirst, You should send `/add` in **_Saved Messages_**.\nThen send the text that if the user sent a message contains similar text.\nAt last send the reply.\n\n## Building\n### Prerequist\n1. Git\n2. Visual Studio (2019 is suggested) (With C#)\n\n### Steps\n1. Open in Visual Studio and clone the repo\n2. Running `git clone https://github.com/Muaath5/TDLibBinaries.git` in a folder next to this repo's folder\n3. Run the application\n\n## Running the app\nAt first, You should set `TELEGRAM_API_ID` and `TELEGRAM_API_HASH` environment variables, Unless you'll get an error.\nOr use `API_ID` \u0026 `API_HASH` parameters in running\n\nAfter that, There are some parameters you can use:\n- `NO_LOGS`: To disable TDLib logs\n- `DB_ALL`: To run all TDLib databases\n- `TEST_DC`: To run TDLib in the test servers\n- `REPLY_WHEN_ONLINE`: If you set this parameter, The userbot will reply even if you're online\n- `NO_AUTO_REPLY_SIGNITURE`: There's a signiture of messages sent by the userbot, By this you can disable them\n\nAnd you can use this parameters and after it enter a text\n- `TELEGRAM_API_ID` or `API_ID`: Your API ID.\n- `TELEGRAM_API_HASH` or `API_HASH`: Your API HASH.\n- `LOG_LEVEL`: TDLib logging level, Between 0 and 1024\n- `NEW_AUTO_REPLY_SIGNITURE`: To choose new signiture\n\nYou can use it like this:\n```cmd\nAutoReplyUserBot.exe /API_ID 123456 /API_HASH abcd1234 /TEST_DC /DB_ALL /NO_LOGS\n```\nOr like this:\n```cmd\nAutoReplyUserBot.exe -API_ID 123456 -API_HASH abcd1234 -DB_ALL -NO_LOGS -REPLY_WHEN_ONLINE\n```\nAnd even without `-` or `/`:\n```cmd\nAutoReplyUserBot.exe API_ID 123456 API_HASH abcd1234 NO_AUTO_REPLY_SIGNITURE TEST_DC\n```\n\n## Available commands\nThese commands can be used only in **Saved Messages**\n- `/add`: To add new reply\n- `/state`: To get info about userbot\n- `/clear`: Delete all stored replies\n- `/cancel`: To cancel current operation\n- `/auto_replies`: Display all stored auto-replies\n- `/signature`: Edit/Disable messages signature\n- `/disallow_reply_when_online`: Disallow userbot to reply when user is online\n- `/allow_reply_when_online`: Allow userbot to reply when user is online\n- `/enable_groups`: Allows auto-reply in groups\n- `/disable_groups`: Disables auto-reply in groups\n\n## TODO List:\n- [x] Creating a repository contains built result of TDLib, And remove it from here.\n- [x] Adding ability to set API_ID \u0026 API_HASH in console without environment variable.\n- [ ] Adding more options for auto-reply filtering\n\n## Licence\nGPL 3.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuaath5%2Fautoreplyuserbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuaath5%2Fautoreplyuserbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuaath5%2Fautoreplyuserbot/lists"}