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.
Fixed
tg sql "SELECT 1 AS one" -f json runs the query: the value of -f/--format after a positional
query was added to the SQL (SELECT 1 AS one json, a syntax error), and after --query it was
refused as an extra argument. tg sql -f json print-schema prints the schema.
tg messages list, get and search say what a service message did. A call, a pin or a
group change used to print only messageType: "service" with no text, so an agent reading a
chat could not tell a call had happened. Every item now has action, read from raw_json (so it
works for messages cached by older versions too), null for other messages: a call gives video, duration and why it ended (missed, busy, hangup, disconnect), a pin the
pinned message, a group change the new title or the users added or removed. Any other action
gives its type name.
tg status no longer counts a sender whose every cached message is deleted as missing:
nothing is left to ask Telegram for, and search doesn't show those messages by default. On a
1.16M-message cache, 1,125 of the 1,376 senders still missing after the first fetch were such
senders (#143).
Several commands can open a new cache together without failing to initialize its search index.