pub async fn edit_inline_message_live_location(
inline_message_id: String,
reply_markup: Option<ReplyMarkup>,
location: Option<Location>,
live_period: i32,
heading: i32,
proximity_alert_radius: i32,
client_id: i32,
) -> Result<(), Error>Expand description
Edits the content of a live location in an inline message sent via a bot; for bots only
ยงArguments
inline_message_id- Inline message identifierreply_markup- The new message reply markup; pass null if nonelocation- New location content of the message; pass null to stop sharing the live locationlive_period- 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_periodheading- The new direction in which the location moves, in degrees; 1-360. Pass 0 if unknownproximity_alert_radius- The new maximum distance for proximity alerts, in meters (0-100000). Pass 0 if the notification is disabledclient_id- The client id to send the request to