PhotoContent

data class PhotoContent(    val mediaCollection: Photo,     val text: String? = null,     val textSources: TextSourcesList = emptyList()) : MediaCollectionContent<PhotoSize> , VisualMediaGroupContent

Constructors

Link copied to clipboard
fun PhotoContent(    mediaCollection: Photo,     text: String? = null,     textSources: TextSourcesList = emptyList())

Functions

Link copied to clipboard
open override fun asTelegramMedia(): TelegramMediaPhoto
Link copied to clipboard
open override fun createResend(    chatId: ChatIdentifier,     disableNotification: Boolean,     protectContent: Boolean,     replyToMessageId: MessageId?,     allowSendingWithoutReply: Boolean?,     replyMarkup: KeyboardMarkup?): Request<ContentMessage<PhotoContent>>
Link copied to clipboard
open override fun toMediaGroupMemberTelegramMedia(): TelegramMediaPhoto

Properties

Link copied to clipboard
open override val media: PhotoSize
Link copied to clipboard
open override val mediaCollection: Photo
Link copied to clipboard
open override val text: String? = null
Link copied to clipboard
open override val textSources: TextSourcesList

Full list of TextSources