StaticLocationContent

data class StaticLocationContent(location: StaticLocation) : LocationContent

Just a LocationContent with StaticLocation. It could be LiveLocationContent in previous time in case when somebody has sent LiveLocation in chat and then stop to broadcast location

Constructors

StaticLocationContent
Link copied to clipboard
common
fun StaticLocationContent(location: StaticLocation)

Functions

copy
Link copied to clipboard
common
open fun copy(location: Location = this.location)
createResend
Link copied to clipboard
common
open override fun createResend(chatId: ChatIdentifier, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, allowSendingWithoutReply: Boolean?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<StaticLocationContent>>

Properties

location
Link copied to clipboard
common
open override val location: StaticLocation