@kotori-bot/adapter-telegram
v1.0.2
Published
Adapter For Telegram
Downloads
6
Maintainers
Readme
@kotori-bot/adapter-telegram
Supports for telegram. Create own bot: @BotFather. And if you are in China, you can set proxy to connect telegram api.
Config
export const config = Tsu.Object({
token: Tsu.String().describe("Bot's token"),
proxy: Tsu.String().optional().describe('Proxy address (if you are in China)')
})
Supports
Events
- on_message (fully supported)
Api
- sendPrivateMsg
- sendGroupMsg
- sendChannelMsg
Elements
- text
- image
- voice
- audio
- video
- location
TODO
Support more standard api...