Package dev.inmo.tgbotapi.extensions.api.edit.LiveLocation

Functions

editLiveLocation
Link copied to clipboard
common
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, location: LiveLocation, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(message: ContentMessage<LocationContent>, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(inlineMessageId: InlineMessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.editLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.editLiveLocation(chat: Chat, messageId: MessageIdentifier, latitude: Double, longitude: Double, horizontalAccuracy: Meters? = null, heading: Degrees? = null, proximityAlertRadius: Meters? = null, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
stopLiveLocation
Link copied to clipboard
common
suspend fun TelegramBot.stopLiveLocation(message: ContentMessage<LocationContent>, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.stopLiveLocation(inlineMessageId: InlineMessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): Boolean
suspend fun TelegramBot.stopLiveLocation(chatId: ChatIdentifier, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>
suspend fun TelegramBot.stopLiveLocation(chat: Chat, messageId: MessageIdentifier, replyMarkup: InlineKeyboardMarkup? = null): ContentMessage<LocationContent>