Package dev.inmo.tgbotapi.CommonAbstracts

Types

CommonContactData
Link copied to clipboard
common
interface CommonContactData
CommonSendInvoiceData
Link copied to clipboard
common
interface CommonSendInvoiceData : Titled, Currencied, Priced
CommonVenueData
Link copied to clipboard
common
interface CommonVenueData : Titled
EntitiesOutput
Link copied to clipboard
common
interface EntitiesOutput : TextedWithTextSources
FromUser
Link copied to clipboard
common
interface FromUser
Headed
Link copied to clipboard
common
interface Headed
HorizontallyAccured
Link copied to clipboard
common
interface HorizontallyAccured
Livable
Link copied to clipboard
common
interface Livable
Locationed
Link copied to clipboard
common
interface Locationed
MimeTyped
Link copied to clipboard
common
interface MimeTyped
MultilevelTextSource
Link copied to clipboard
common
interface MultilevelTextSource : TextSource
ParsableOutput
Link copied to clipboard
common
interface ParsableOutput : Texted
Performerable
Link copied to clipboard
common
interface Performerable
ProximityAlertable
Link copied to clipboard
common
interface ProximityAlertable
Texted
Link copied to clipboard
common
interface Texted
TextedInput
Link copied to clipboard
common
interface TextedInput : TextedWithTextSources
TextedOutput
Link copied to clipboard
common
interface TextedOutput : ParsableOutput, EntitiesOutput
TextedWithTextSources
Link copied to clipboard
common
interface TextedWithTextSources : Texted
TextSource
Link copied to clipboard
common
interface TextSource
TextSourcesList
Link copied to clipboard
common
typealias TextSourcesList = List<TextSource>
Titled
Link copied to clipboard
common
interface Titled

Functions

makeString
Link copied to clipboard
common
fun List<TextSource>.makeString(): String
plus
Link copied to clipboard
common
inline operator fun TextSource.plus(other: TextSource): List<TextSource>
inline operator fun TextSource.plus(text: String): List<TextSource>
inline operator fun TextSource.plus(other: List<TextSource>): List<TextSource>
inline operator fun List<TextSource>.plus(text: String): List<TextSource>
separateForCaption
Link copied to clipboard
common
fun List<TextSource>.separateForCaption(): List<List<TextSource>>
This method will prepare TextSources list for messages.
separateForMessage
Link copied to clipboard
common
fun List<TextSource>.separateForMessage(limit: IntRange, numberOfParts: Int? = null): List<List<TextSource>>
separateForText
Link copied to clipboard
common
inline fun List<TextSource>.separateForText(): List<List<TextSource>>
This method will prepare TextSources list for messages with textLength

Properties

CaptionDeprecation
Link copied to clipboard
common
const val CaptionDeprecation: String
DirectInvocationOfTextSourceConstructor
Link copied to clipboard
common
const val DirectInvocationOfTextSourceConstructor: String