Repository navigation
chore(backend): post emanated regulations to the Soci Telegram group - #38
Conversation
Chat -1001897010014, General topic. The link points at topic 1, which is the forum's General topic: the Bot API rejects message_thread_id=1, so the topic stays empty and the bot posts without a thread id.
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. WalkthroughThe deployment configuration sets the Telegram chat ID to ChangesTelegram deployment configuration
Change: Other Merge Risk:
|
Sets
REGULATIONS_TELEGRAM_CHAT_ID: "-1001897010014"(the Soci group, fromt.me/c/1897010014/1/...).REGULATIONS_TELEGRAM_TOPIC_IDstays empty on purpose: the link's topic is1, the forum's General topic, and the Telegram Bot API refusesmessage_thread_id=1("message thread not found"). With the topic unset the backend sendstopicId: nulland the bot posts without a thread id, which lands in General.Merging rolls the backend once. The bot must be a member of the group with permission to send messages and documents.