AudioContent

@Serializable
data class AudioContent(    val media: AudioFile,     val text: String? = null,     val textSources: TextSourcesList = emptyList(),     val quote: TextQuote? = null) : AudioMediaGroupPartContent

Constructors

Link copied to clipboard
constructor(media: AudioFile, text: String? = null, textSources: TextSourcesList = emptyList(), quote: TextQuote? = null)

Properties

Link copied to clipboard
open override val media: AudioFile
Link copied to clipboard
open override val quote: TextQuote? = null
Link copied to clipboard
open override val text: String? = null
Link copied to clipboard
open override val textSources: TextSourcesList

Full list of TextSources

Functions

Link copied to clipboard
Link copied to clipboard
open override fun asTelegramMedia(): TelegramMediaAudio
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<AudioContent>>
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>