Package dev.inmo.tgbotapi.CommonAbstracts

Types

Captioned
Link copied to clipboard
common
interface Captioned
CaptionedInput
Link copied to clipboard
common
interface CaptionedInput : Captioned
CaptionedOutput
Link copied to clipboard
common
interface CaptionedOutput : 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
FullTextPartsList
Link copied to clipboard
common
typealias FullTextPartsList = kotlin.collections.List<dev.inmo.tgbotapi.CommonAbstracts.TextPart>
FullTextSourcesList
Link copied to clipboard
common
typealias FullTextSourcesList = kotlin.collections.List<dev.inmo.tgbotapi.CommonAbstracts.TextSource>
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 = kotlin.collections.List<dev.inmo.tgbotapi.CommonAbstracts.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

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

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

This method will prepare TextSources list for messages with textLength

common
inline fun List<TextSource>.separateForText(): List<List<TextSource>>

Properties

DirectInvocationOfTextSourceConstructor
Link copied to clipboard
const val DirectInvocationOfTextSourceConstructor: String
textSources
Link copied to clipboard

val CaptionedInput.textSources: List<TextSource>
textSources
Link copied to clipboard

val ExplainedInput.textSources: List<TextSource>
textSources
Link copied to clipboard

val TextedInput.textSources: List<TextSource>