Package dev.inmo.tgbotapi.CommonAbstracts

Types

Captioned
Link copied to clipboard
common
interface Captioned
CaptionedInput
Link copied to clipboard
common
interface CaptionedInput : Captioned
CommonContactData
Link copied to clipboard
common
interface CommonContactData
CommonVenueData
Link copied to clipboard
common
interface CommonVenueData : Titled
EntitiesExplainedOutput
Link copied to clipboard
common
interface EntitiesExplainedOutput : Explained
EntitiesOutput
Link copied to clipboard
common
interface EntitiesOutput : Texted
Explained
Link copied to clipboard
common
interface Explained
ExplainedInput
Link copied to clipboard
common
interface ExplainedInput : Explained
ExplainedOutput
Link copied to clipboard
common
interface ExplainedOutput : ParsableExplainedOutput, EntitiesExplainedOutput
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
ParsableExplainedOutput
Link copied to clipboard
common
interface ParsableExplainedOutput : Explained
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 : Texted
TextedOutput
Link copied to clipboard
common
interface TextedOutput : ParsableOutput, EntitiesOutput
TextPart
Link copied to clipboard
common
data class TextPart(range: IntRange, source: TextSource)
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

justTextSources
Link copied to clipboard
common
fun List<TextPart>.justTextSources(): List<TextSource>
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

DirectInvocationOfTextSourceConstructor
Link copied to clipboard
common
const val DirectInvocationOfTextSourceConstructor: String
textSources
Link copied to clipboard
common
val CaptionedInput.textSources: List<TextSource>
textSources
Link copied to clipboard
common
val ExplainedInput.textSources: List<TextSource>
textSources
Link copied to clipboard
common
val TextedInput.textSources: List<TextSource>
Full list of TextSource built from sourceTextedInput.textEntities