All Projects → Netrvin → Telegram Pm Chat Bot

Netrvin / Telegram Pm Chat Bot

Licence: mit
Telegram Private Message Chat Bot

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Telegram Pm Chat Bot

Telegram Instapy Scheduling
A Telegram bot for scheduling InstaPy
Stars: ✭ 136 (+97.1%)
Mutual labels:  bot, telegram, message
Chat Ui Kit React
Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
Stars: ✭ 131 (+89.86%)
Mutual labels:  talk, user, chat
Telebot.nim
Async client for Telegram Bot API in pure Nim [Bot API 5.1]
Stars: ✭ 93 (+34.78%)
Mutual labels:  bot, chat, telegram
Telebot
Write Telegram bots in Rust with Tokio and Futures
Stars: ✭ 179 (+159.42%)
Mutual labels:  bot, chat, telegram
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+4910.14%)
Mutual labels:  bot, chat, message
Groupbutler
This bot can help you in managing your group with rules, anti-flood, description, custom triggers, and much more!
Stars: ✭ 399 (+478.26%)
Mutual labels:  bot, chat, telegram
Falconmessenger
🌟🌟🌟🌟🌟 Falcon Messenger is a Fast and Beautiful cloud-based messaging app. With iOS and IPadOS Support. Available on the App Store.
Stars: ✭ 310 (+349.28%)
Mutual labels:  chat, telegram, message
Gpt2 Telegram Chatbot
GPT-2 Telegram Chat bot
Stars: ✭ 41 (-40.58%)
Mutual labels:  bot, chat, telegram
Nikoro
A plugin-based, all-in-one, Telegram Bot written in Node.js
Stars: ✭ 51 (-26.09%)
Mutual labels:  bot, telegram
Telegram Bot Groupagree
An advanced poll bot for Telegram
Stars: ✭ 52 (-24.64%)
Mutual labels:  bot, telegram
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-21.74%)
Mutual labels:  bot, telegram
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-26.09%)
Mutual labels:  bot, telegram
Swiftychat
SwiftUI Chat UI (Client) Framework & Documentation to get started!
Stars: ✭ 50 (-27.54%)
Mutual labels:  chat, message
Tiledesk Dashboard
The Tiledesk dashboard. Tiledesk is an Open Source Live Chat platform written in NodeJs, firebase and Angular.
Stars: ✭ 53 (-23.19%)
Mutual labels:  bot, chat
Enterprisealrobot
An anime themed telegram group management bot
Stars: ✭ 49 (-28.99%)
Mutual labels:  bot, telegram
Nitro
A discord bot
Stars: ✭ 56 (-18.84%)
Mutual labels:  bot, chat
Pockebot
Read It Later for Telegram
Stars: ✭ 56 (-18.84%)
Mutual labels:  bot, telegram
Kotlin Firebase Group Chat
Group and OneonOne chat using firebase built in Kotlin similar to whatsapp.
Stars: ✭ 44 (-36.23%)
Mutual labels:  chat, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (-23.19%)
Mutual labels:  bot, telegram
Turibot
TuriBot is a simple way to communicate with Telegram APIs in PHP
Stars: ✭ 68 (-1.45%)
Mutual labels:  bot, telegram

telegram-pm-chat-bot

Telegram 私聊机器人 Telegram Private Message Chat Bot

本项目已进入随缘更新状态,如您对使用 .NET 没有意见的话,可考虑使用 pmcenter 作为PM机器人的解决方案

安装 (Installation)

安装准备 (Preparation)

  • 创建Telegram机器人,获取Token

  • 一台外面的服务器,安装好Python和pip,并用pip安装python-telegram-bot==11.1.0

  • Create a bot and get its token

  • Install Python and pip, then use pip to install python-telegram-bot==11.1.0

配置 (Configuration)

打开config.json并配置

{
    "Admin": 0,
    "//1": "管理员用户ID(数字ID)(可以先不设)",
    "Token": "",
    "//2": "机器人Token",
    "Lang": "zh",
    "//3": "语言包名称"
}

如果在前一步未设置管理员用户ID,第一个对机器人发送/setadmin的用户将成为管理员,之后可通过修改config.json修改管理员

Open config.json and configure

{
    "Admin": 0,
    "//1": "Admin ID (A digital ID)",
    "Token": "",
    "//2": "Bot Token",
    "Lang": "en",
    "//3": "Language Pack Name (Be careful! It's 'en'!)"
}

If you didn't set admin's ID previously, the user who sends /setadmin to the bot first will become the admin. You can edit config.json to change admin later.

升级 (Upgrade)

替换main.pylang文件夹,重新运行即可

Replace main.py and folder lang, then run main.py

运行 (Run)

python main.py

使用 (Usage)

回复 (Reply)

直接回复机器人转发过来的消息即可回复,支持文字、贴纸、图片、文件、音频和视频

Reply directly to the message forwarded by the robot to reply. You can reply text, sticker, photo, file, audio, voice and video.

查询用户身份 (Inquire sender identity)

部分转发来的消息不便于查看发送者身份,可以通过回复该消息/info查询

You can reply /info to the message which you want to get its sender's info more clearly.

消息发送提示 (Message sending notification)

向机器人发送指令/togglenotification可开启/关闭消息发送提示

效果:

  • 对管理员:回复用户后,如无出错则不会提示“已回复”
  • 对用户:发送消息后,机器人不会回复“已收到”

Send the command /togglenotification to the bot to enable/disable the message sending notification

Effect:

  • For admin: After replying to the user, if there is no error, it will not prompt "replied"
  • For users: After sending a message, the bot will not reply "received"

封禁与解禁 (Ban and unban)

向一条消息回复/ban可禁止其发送者再次发送消息

向一条消息回复/unban或发送/unban <数字ID>可解除对此用户的封禁

Reply /ban to a message to block the sender of the message from sending messages to you

Reply unban to a message or send /unban <User ID> to unban a user

可用指令 (Available commands)

Command 用途
/ping 确认机器人是否正在运行
/setadmin 设置当前用户为管理员
/togglenotification 切换消息发送提示开启状态
/info 查询用户身份
/ban 封禁用户
/unban <数字ID (可选)> 解封用户
Command Usage
/ping Check if the bot is running
/setadmin Set the current user as admin
/togglenotification Toggle message sending notification status
/info Inquire sender identity
/ban Ban a user
/unban <ID (optional)> Unban a user
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].