Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node operation sends a geographic location message in a chat session. It is useful for sharing precise locations such as offices, meeting points, or any place of interest directly within a chat conversation. For example, a user can send the location of their office or a meeting spot to a contact or group chat.
Use Case Examples
- Sending the office location to a client during a chat conversation.
- Sharing a meeting point location with a group chat for an event.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to send the location message in. |
| Chat Id | The identifier of the chat where the location will be sent. |
| Latitude | The latitude coordinate of the location to send. |
| Longitude | The longitude coordinate of the location to send. |
| Title | A title or label for the location being sent. |
| Reply To | The ID of the message to reply to, if replying to a specific message. |
| Request Options | Additional options for the request such as batching, SSL handling, proxy, and timeout settings. |
Output
JSON
messageId- The unique identifier of the sent location message.status- The status of the message sending operation (e.g., success or failure).chatId- The chat identifier where the location was sent.latitude- The latitude coordinate of the sent location.longitude- The longitude coordinate of the sent location.title- The title or label of the sent location.
Dependencies
- Requires an active chat session and valid chat ID to send location messages.
Troubleshooting
- Ensure the session and chatId are valid and active; invalid IDs will cause message sending to fail.
- Latitude and longitude must be valid geographic coordinates; invalid values will cause errors.
- If using a proxy or ignoring SSL issues, verify network settings to avoid connection failures.
- Timeout settings should be adjusted based on network speed to prevent premature request abortion.