data class PhotoContent : MediaCollectionContent<PhotoSize>, MediaGroupContent
(source)
(common)
<init> |
PhotoContent(mediaCollection: Photo, caption: String? = null, captionEntities: List<TextPart> = emptyList()) |
(common)
caption |
val caption: String? |
(common)
captionEntities |
Not full list of entities. This list WILL NOT contain TextParts with com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource val captionEntities: List<TextPart> |
(common)
media |
val media: PhotoSize |
(common)
mediaCollection |
val mediaCollection: Photo |
(common)
asInputMedia |
fun asInputMedia(): InputMediaPhoto |
(common)
createResend |
fun createResend(chatId: ChatIdentifier, disableNotification: Boolean, replyToMessageId: MessageIdentifier?, replyMarkup: KeyboardMarkup?): Request<ContentMessage<PhotoContent>> |
(common)
toMediaGroupMemberInputMedia |
fun toMediaGroupMemberInputMedia(): MediaGroupMemberInputMedia |
(common)
fullEntitiesList |
Convert its CaptionedInput.captionEntities to list of com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.TextSource with com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.RegularTextSource fun CaptionedInput.fullEntitiesList(): FullTextSourcesList |
(common)
toHtmlCaptions |
fun CaptionedInput.toHtmlCaptions(): List<String> |
(common)
toMarkdownCaptions |
fun CaptionedInput.toMarkdownCaptions(): List<String> |
(common)
toMarkdownV2Captions |
fun CaptionedInput.toMarkdownV2Captions(): List<String> |