tginfo
Display Telegram Desktop build information
TLDR
Search for all files inside a Telegram conversation based on their filename or caption
Get info for all media inside a Telegram chat
SYNOPSIS
tginfo [OPTIONS] <entity_type> <entity_id|username>
PARAMETERS
-u, --user
Specifies that the target entity is a user. Followed by a user ID or @username.
-c, --chat
Specifies that the target entity is a chat (group, supergroup, or private chat). Followed by a chat ID.
-C, --channel
Specifies that the target entity is a channel. Followed by a channel ID or @channelusername.
-v, --verbose
Displays more detailed and extensive information about the specified entity.
-j, --json
Outputs the information in JSON format for easier programmatic parsing, if supported by the specific implementation.
-m, --message
(Less common) Specifies a message ID to retrieve message-specific information.
DESCRIPTION
The tginfo command, though not a standard Linux utility, historically refers to a tool found within certain specialized or deprecated Telegram command-line interfaces (e.g., tg-cli). Its primary purpose is to fetch and display detailed information about various Telegram entities, such as users, chats (private chats, groups, supergroups), and channels. It serves as a diagnostic or informational resource for developers and advanced users who interact with the Telegram API directly from the terminal. The output typically includes unique IDs, names, types, status, and other relevant metadata. The exact availability, functionality, and syntax of tginfo are entirely dependent on the specific Telegram client or API wrapper it's part of, as it is not part of the core GNU/Linux utilities.
CAVEATS
tginfo is not a standard Linux command. Its presence and functionality are exclusive to specific, often third-party or historical, Telegram command-line clients (like the largely deprecated tg-cli). Users should verify if such a command is installed and available in their particular environment. Modern Telegram interaction typically relies on official applications, Telegram Desktop, or API libraries (like TDLib), rather than a standalone tginfo utility.
USAGE CONTEXT
If you encounter a system or script using tginfo, it likely indicates a reliance on an older Telegram command-line client or a custom wrapper around the Telegram API. Ensure the underlying client is properly configured and authenticated with your Telegram account for tginfo to function correctly.
HISTORY
The concept of a tginfo command rose to prominence with the advent of early, unofficial command-line Telegram clients, most notably tg-cli. These clients provided a way to interact with the Telegram network directly from the terminal before official command-line tools or robust API libraries were widely available. tginfo was a crucial utility within these environments, enabling users to inspect profiles, chat details, and channel information. As Telegram's API matured and official developer tools became prevalent, the reliance on such specific, often community-maintained, tools like tg-cli and its included commands diminished. Modern Telegram development primarily uses official API wrappers and SDKs rather than a standalone tginfo command.


