Tech
[分享创造] 市面上的 TG 私聊机器人都不合我心意,于是我自己撸了一个
怎么用( 3 步,全程在 Telegram 里)
找 @BotFather 建一个对外服务的 bot ,拿到 token ;
私聊我的总控 bot @long2ice_pm_bot ,发送:
/newbot <你刚拿到的 token>
总控 bot 自动帮你校验 token 、设好 webhook 、回执一个 Web 工作台登录链接。 搞定,你的客服 bot 上线了。
之后把你的 bot 链接发给用户,用户私聊发消息,你就能在 Telegram 里直接「回复」那条转发消息回复对方,或者打开 Web 工作台回复。
主要功能
双向全类型转发 :文本 / 图片 / 视频 / 文件 / 贴纸 / 语音 / voice note 全支持;
Web 客服工作台 :每个 bot 一个独立后台,多个 bot 同浏览器并行登录互不冲突,实时 WebSocket 推送;
多渠道来源识别 : https://t.me/你的 bot?start=blog 、 ?start=twitter 区分引流渠道, /...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX