PhotoFile

Constructors

Link copied to clipboard
constructor(photos: List<PhotoSize>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val fileId: FileId
Link copied to clipboard
open override val fileSize: Long?
Link copied to clipboard
open override val fileUniqueId: TgFileUniqueId
Link copied to clipboard
Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun contains(element: PhotoSize): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<PhotoSize>): Boolean
Link copied to clipboard
open operator override fun get(index: Int): PhotoSize
Link copied to clipboard
open override fun indexOf(element: PhotoSize): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<PhotoSize>
Link copied to clipboard
open override fun lastIndexOf(element: PhotoSize): Int
Link copied to clipboard
open override fun listIterator(): ListIterator<PhotoSize>
open override fun listIterator(index: Int): ListIterator<PhotoSize>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun TextSourcesList.makeMarkdownV2String(eachLineSeparator: String? = null): String
Link copied to clipboard
Link copied to clipboard
inline fun TextSourcesList.makeString(parseMode: ParseMode? = null): String
Link copied to clipboard
operator fun List<TextSource>.plus(text: String): List<TextSource>
Link copied to clipboard

This method will prepare TextSources list for messages. Remember, that first part will be separated with captionLength and all others with

Link copied to clipboard
fun List<TextSource>.separateForMessage(limit: IntRange, numberOfParts: Int? = null): List<List<TextSource>>
Link copied to clipboard

This method will prepare TextSources list for messages with textLength

Link copied to clipboard

This method will prepare TextSources list for messages. Remember, that first part will be separated with captionLength and all others with

Link copied to clipboard
fun List<TextSource>.splitForMessage(limit: IntRange, numberOfParts: Int? = null): List<List<TextSource>>
Link copied to clipboard

This method will prepare TextSources list for messages with textLength

Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<PhotoSize>