Open megaezz opened 3 years ago
How you do it? sendMessage doesn't support to prived the linked_chat_id parameter or else... But you can get parameter from Message or Chat object. Did you try it?
Yes I send message by sendMessage:
$bot->sendMessage($chatId, $text, 'html', false, null, $keyboard);
I linked discussion chat on settings in Telegram app. So when I posting by application - I see comments icon. But by API - not.
I didn't understand your advice about Message or Chat object. If it doesn't bother you, could you send an example of this code?
Hello! Have you found a solution? I am interested, too. How to send a message into channel by bot so that it will have a discussion in the linked group?
Hello! Have you found a solution? I am interested, too. How to send a message into channel by bot so that it will have a discussion in the linked group?
Unfortunately still didn't find
I configured channel to support post discussions. When posting manually - all works, but through the API - comments not available.