Թողարկման նշումներ
Added
- Telegram notification channel (
telegram, typeApp) built onHostpanel.Sdk3.19.0, pinned exactly, for host 0.12.0 and later. It implements the SDK notification channel contract (INotificationChannelPlugin, capabilitynotificationChannel): the host chooses which events reach the channel and callsDeliverAsyncfrom its outbox. - Staff messages posted by the operator's bot to every configured chat (numeric chat id or public
@username), rendered from a template with{text},{number}and{link}and sent as plain text with link previews off. Client messages are skipped (audience_not_supported): the host gives a client's phone or e-mail, and a bot can only write to a chat. - Each event is sent once per chat, keyed by the event id in the plugin store. A 429 is waited out in the call when
retry_afteris 5 seconds or less, otherwise answered as a retry with Telegram's wait. A refusal fails the message withtelegram_<error code>orchat_migrated; an unknown outcome fails withoutcome_unknownand is never resent. POST /test(admin) sends a real test message; Test Connection callsgetMewithout sending anything.- The bot token is a secret setting, checked against the BotFather shape before it is placed in a request path, and never written to a log, an exception, a reason or a reply; neither is any Bot API address or Telegram's description.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «telegram» նույնացուցիչով պլագինը և ընտրեք 1.0.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։