mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-15 18:15:33 +00:00
Show the Telegram default chat in the connect form and the drawer
The connect form shows field hints; Telegram's Default chat ID says what it does and how to find a chat's id. In the drawer, a chat set on the account shows as set there instead of as a choice.
This commit is contained in:
1 parent
c3e83ff9dd
commit
607c2296e3
13 files changed
+198
-31
No files matched your search
@@ -316,8 +316,9 @@ _BUILT_IN: tuple[ConnectorDefinition, ...] = (
|
||||
required=False,
|
||||
parameter="chat_id",
|
||||
hint=(
|
||||
"Messages go to this chat, and the AI cannot pick another. Add the bot to the chat, send "
|
||||
"it a message, then find the chat's id in https://api.telegram.org/bot<token>/getUpdates."
|
||||
"Optional. Messages go to this chat, and the AI cannot pick another. Add the bot to the "
|
||||
"chat, send it a message, then find the chat's id in "
|
||||
"https://api.telegram.org/bot<token>/getUpdates."
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user