editLiveLocation

suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageId, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageId, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, latitude: Double, longitude: Double, livePeriod: Seconds? = null, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageId, location: LiveLocation, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageId, location: LiveLocation, businessConnectionId: BusinessConnectionId? = chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, location: LiveLocation, businessConnectionId: BusinessConnectionId? = message.chat.id.businessConnectionId, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LiveLocationContent>

Parameters

replyMarkup

Some InlineKeyboardMarkup. See dev.inmo.tgbotapi.extensions.utils.types.buttons.inlineKeyboard as a builder for that


suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageId, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageId, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): Boolean