You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's new
messages list --limit returns as many messages as asked for. Telegram hands out at most 100 a request, and --limit 500 used to stop at 100 with hasMore: true; it now reads on page by page (cli-messaging 0.235.0).
A poll in messages list carries its question, answers and total votes under providerMetadata.poll, so a channel's polls read without one polls show per message.
Fixed
messages comments --limit 100 (or more) says when older comments remain. It asked Telegram for one comment
more than the limit to find out, but Telegram returns at most 100, so a thread of 1,600 comments answered 100 with hasMore: false. It now asks for at most 100 and reads a full page as more to come.
polls show gives a poll's total votes before you vote. Telegram sends the total either way; only each
answer's count waits for your vote. The total used to be null too.