Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node interacts with the Telegram API to perform various chat-related operations. Specifically, the 'Chat' resource with the 'Get' operation retrieves up-to-date information about a specific chat by its unique identifier or username. This is useful for scenarios where you need to fetch details about a chat, such as its type, title, or other metadata, for automation or monitoring purposes.
Use Case Examples
- Fetching chat details to display in a dashboard.
- Retrieving chat information before sending a message or performing administrative actions.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username. Required to specify which chat to get information about. |
Output
JSON
result- The JSON object containing the chat information returned by the Telegram API.
Dependencies
- Requires an API key credential for Telegram API access.
Troubleshooting
- Ensure the Chat ID is correct and accessible by the bot; otherwise, the API call will fail.
- If the bot is not a member of the chat or lacks permissions, the operation may return an error.
- Common error messages include invalid chat ID or unauthorized access, which can be resolved by verifying bot permissions and chat identifiers.
Links
- Telegram Bot API - getChat Method - Official Telegram API documentation for the getChat method used to retrieve chat information.