Get Telegram inbox
Input
count optionalMaximum conversations to return, scrolling the chat list to load older ones.
Default: 30Output
chats requiredConversations in the order the chat list shows them (most recent activity first). Empty when the account has none.
count requiredHow many conversations were returned.
state required"ready" when the chat list rendered rows. "empty" when the app shell mounted and the chat list then STAYED empty for a hold period (4s with the list container mounted, 12s without), which is how an account with no conversations looks - reported rather than treated as a failure. The hold is what distinguishes it from an account still syncing, whose list fills during the hold; a run that never settles either way throws instead, as does being signed out, so neither can be confused with "empty". Renamed from "empty-or-syncing" in v2: that hedge existed only because v1 could not tell the two states apart.
