GramIO API Reference / gramio/dist / EditMessageLiveLocationParams
Interface: EditMessageLiveLocationParams
Defined in: @gramio/types/out/params.d.ts:3389
Params object for editMessageLiveLocation method
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
business_connection_id? | string | Unique identifier of the business connection on behalf of which the message to be edited was sent | @gramio/types/out/params.d.ts:3393 |
chat_id? | string | number | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) | @gramio/types/out/params.d.ts:3397 |
heading? | number | Direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. | @gramio/types/out/params.d.ts:3425 |
horizontal_accuracy? | number | The radius of uncertainty for the location, measured in meters; 0-1500 | @gramio/types/out/params.d.ts:3421 |
inline_message_id? | string | Required if chat_id and message_id are not specified. Identifier of the inline message | @gramio/types/out/params.d.ts:3405 |
latitude | number | Latitude of new location | @gramio/types/out/params.d.ts:3409 |
live_period? | number | New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current live_period by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then live_period remains unchanged | @gramio/types/out/params.d.ts:3417 |
longitude | number | Longitude of new location | @gramio/types/out/params.d.ts:3413 |
message_id? | number | Required if inline_message_id is not specified. Identifier of the message to edit | @gramio/types/out/params.d.ts:3401 |
proximity_alert_radius? | number | The maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified. | @gramio/types/out/params.d.ts:3429 |
reply_markup? | TelegramInlineKeyboardMarkup | { toJSON: TelegramInlineKeyboardMarkup; } | A JSON-serialized object for a new inline keyboard. | @gramio/types/out/params.d.ts:3433 |