Interface EditBusinessMessageLiveLocation

Edits the content of a live location in a message sent on behalf of a business account; for bots only. Request type for Tdjson#editBusinessMessageLiveLocation.

interface EditBusinessMessageLiveLocation {
    @type: "editBusinessMessageLiveLocation";
    business_connection_id: string;
    chat_id: number;
    heading: number;
    live_period: number;
    location: Location;
    message_id: number;
    proximity_alert_radius: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "editBusinessMessageLiveLocation"
business_connection_id: string

Unique identifier of business connection on behalf of which the message was sent.

chat_id: number

The chat the message belongs to.

heading: number

The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknown.

live_period: number

New time relative to the message send date, for which the location can be updated, in seconds. If 0x7FFFFFFF specified, then the location can be updated forever. Otherwise, must not exceed the current live_period by more than a day, and the live location expiration date must remain in the next 90 days. Pass 0 to keep the current live_period.

location: Location

New location content of the message; pass null to stop sharing the live location.

message_id: number

Identifier of the message.

proximity_alert_radius: number

The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabled.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none.