Categorygithub.com/pefish/tg-sender
modulepackage
0.1.1
Repository: https://github.com/pefish/tg-sender.git
Documentation: pkg.go.dev

# README

tg-sender

view examples

tg-sender

Quick start

Telegram 创建机器人并获取 token(代表机器人)

搜索 BotFather,创建机器人,得到 token

Telegram 获取 chat id(代表群组)

  1. 将机器人添加到群组
  2. 在群里随便发送一个消息。比如 /test abc
  3. 浏览器访问 https://api.telegram.org/botXXX:YYYY/getUpdates (XXX:YYYY 是 token),可以获取到机器人所在组中发的所有命令
  4. 从返回结果中找到 chat id

Document

doc

Security Vulnerabilities

If you discover a security vulnerability, please send an e-mail to [email protected]. All security vulnerabilities will be promptly addressed.

License

This project is licensed under the Apache License.

# Functions

No description provided by the author

# Structs

No description provided by the author
No description provided by the author