feat(im): add Telegram platform integration
Add Telegram Bot API adapter supporting both webhook and long-polling modes with streaming replies via editMessageText, file download via getFile API, and timing-safe secret token verification.
This commit is contained in:
@@ -11,9 +11,10 @@ import (
|
||||
type Platform string
|
||||
|
||||
const (
|
||||
PlatformWeCom Platform = "wecom"
|
||||
PlatformFeishu Platform = "feishu"
|
||||
PlatformSlack Platform = "slack"
|
||||
PlatformWeCom Platform = "wecom"
|
||||
PlatformFeishu Platform = "feishu"
|
||||
PlatformSlack Platform = "slack"
|
||||
PlatformTelegram Platform = "telegram"
|
||||
)
|
||||
|
||||
// MessageType identifies the kind of IM message.
|
||||
|
||||
Reference in New Issue
Block a user