AnimationContent

@Serializable
data class AnimationContent(val media: AnimationFile, val includedDocument: DocumentFile?, val text: String?, val textSources: TextSourcesList = emptyList(), val spoilered: Boolean = false, val quote: TextQuote? = null, val showCaptionAboveMedia: Boolean = false) : TextedMediaContent, SpoilerableMediaContent, WithCustomizedCaptionMediaContent

Constructors

Link copied to clipboard
constructor(media: AnimationFile, includedDocument: DocumentFile?, text: String?, textSources: TextSourcesList = emptyList(), spoilered: Boolean = false, quote: TextQuote? = null, showCaptionAboveMedia: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
open override val media: AnimationFile
Link copied to clipboard
open override val quote: TextQuote? = null
Link copied to clipboard
open override val showCaptionAboveMedia: Boolean = false
Link copied to clipboard
open override val spoilered: Boolean = false
Link copied to clipboard
open override val text: String?
Link copied to clipboard
open override val textSources: TextSourcesList

Full list of TextSources

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun createResend(chatId: ChatIdentifier, messageThreadId: MessageThreadId?, businessConnectionId: BusinessConnectionId?, disableNotification: Boolean, protectContent: Boolean, allowPaidBroadcast: Boolean, effectId: EffectId?, replyParameters: ReplyParameters?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<AnimationContent>>
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>