Nachricht direkt an Telegram Thread senden?

Begonnen von Marlen, 27 August 2024, 17:35:03

Vorheriges Thema - Nächstes Thema

Marlen

Hallo,

ich hab jetzt herausgefunden, dass die Themen in einer Telegramm Chat-Gruppe Threads sind.

Diese Threads haben eine 4 stellige Zahl.

Aber wie kann man da etwas hin schicken?
Die Thread-ID wird auch im Telegram-Modul im Reading "prevMsgReplyMsgId" angezeigt.

LG
  Marlen

Prof. Dr. Peter Henning

Die Threads benutze ich zwar nicht - aber ich würde einfach mal probieren, an diese MsgId etwas zu schicken.

Siehe dazu CommandRef zum TelegramBot, speziell
Zitatreply <msgid> [ @<peer1> ] <text>
Sends the given message as a reply to the msgid (number) given to the given peer or if peer is ommitted to the defined default peer user. Only a single peer can be specified. Beside the handling of the message as a reply to a message received earlier, the peer and message handling is otherwise identical to the msg command.
msgEdit <msgid> [ @<peer1> ] <text>
Changes the given message on the recipients clients. The msgid of the message to be changed must match a valid msgId and the peers need to match the original recipient, so only a single peer can be given or if peer is ommitted the defined default peer user is used. Beside the handling of a change of an existing message, the peer and message handling is otherwise identical to the msg command.
msgDelete <msgid> [ @<peer1> ]
Deletes the given message on the recipients clients. The msgid of the message to be changed must match a valid msgId and the peers need to match the original recipient, so only a single peer can be given or if peer is ommitted the defined default peer user is used. Restrictions apply for deleting messages in the Bot API as currently specified here (deleteMessage)

LG

pah