Skip to content

GramIO API Reference / gramio/dist / EditMessageLiveLocationParams

Interface: EditMessageLiveLocationParams

Defined in: @gramio/types/out/params.d.ts:3389

Params object for editMessageLiveLocation method

Properties

PropertyTypeDescriptionDefined in
business_connection_id?stringUnique 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 | numberRequired 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?numberDirection 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?numberThe radius of uncertainty for the location, measured in meters; 0-1500@gramio/types/out/params.d.ts:3421
inline_message_id?stringRequired if chat_id and message_id are not specified. Identifier of the inline message@gramio/types/out/params.d.ts:3405
latitudenumberLatitude of new location@gramio/types/out/params.d.ts:3409
live_period?numberNew 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
longitudenumberLongitude of new location@gramio/types/out/params.d.ts:3413
message_id?numberRequired if inline_message_id is not specified. Identifier of the message to edit@gramio/types/out/params.d.ts:3401
proximity_alert_radius?numberThe 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