StaticLocationContent

@Serializable
data class StaticLocationContent(val 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

Link copied to clipboard
constructor(location: StaticLocation)

Properties

Link copied to clipboard
open override val location: StaticLocation

Functions

Link copied to clipboard
open fun copy(location: Location = this.location)
Link copied to clipboard
open fun createResend(chatId: ChatIdentifier, messageThreadId: MessageThreadId? = chatId.threadId, businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId, disableNotification: Boolean = false, protectContent: Boolean = false, allowPaidBroadcast: Boolean = false, effectId: EffectId? = null, replyToMessageId: MessageId?, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<out AccessibleMessage>
open override fun createResend(chatId: ChatIdentifier, messageThreadId: MessageThreadId?, businessConnectionId: BusinessConnectionId?, disableNotification: Boolean, protectContent: Boolean, allowPaidBroadcast: Boolean, effectId: EffectId?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<StaticLocationContent>>