openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 639 B
TypeScript
/** Telegram forum-topic service-message fields (Bot API). */
export declare const TELEGRAM_FORUM_SERVICE_FIELDS: readonly ["forum_topic_created", "forum_topic_edited", "forum_topic_closed", "forum_topic_reopened", "general_forum_topic_hidden", "general_forum_topic_unhidden"];
/**
* Returns `true` when the message is a Telegram forum service message (e.g.
* "Topic created"). These auto-generated messages carry one of the
* `forum_topic_*` / `general_forum_topic_*` fields and should not count as
* regular bot replies for implicit-mention purposes.
*/
export declare function isTelegramForumServiceMessage(msg: unknown): boolean;