Closed seanvelasco closed 11 months ago
You need to use the method getChatMessageCount
for this.
that was it - thank you very much!
example usage for getting links count:
{
"@type": "getChatMessageCount",
chat_id: -1001123464890,
filter: {
"@type": "searchMessagesFilterUrl"
}
}
I couldn't find any documentation for retrieving the count or number of media files and attachments in a channel.
There is
member_count
forgetSupergroup
, but there exists no member for media count, links count, or files count.However, previewing a channel on https://t.me/s/channel, the site seems to able to display the above missing counts:
Perhaps this is unspecced?