tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

how to get comments? #2415

Closed rr8733380 closed 1 year ago

rr8733380 commented 1 year ago

What is the most correct way to get comments on a post in the channel. How do I get comments for a specific post in a channel? Now I get to receive all the messages in the chat at once, intended for comments in this channel

levlam commented 1 year ago

Use getMessageThread and then getMessageThreadHistory for the received message thread.

rr8733380 commented 1 year ago

How to get an unreadCount, for comments for a specific message

levlam commented 1 year ago

Use getMessageThread.