LocationContent

@Serializable(with = LocationContentSerializer::class)
sealed interface LocationContent : MessageContent

MessageContent with location. This interface contains copy method for cases when you do not want to use some class casts for copying of content

See also

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val location: Location

Functions

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