Package dev.inmo.tgbotapi.utils.extensions

Types

AccumulatedValues
Link copied to clipboard
common
typealias AccumulatedValues<K, V> = Pair<K, List<V>>

Functions

accumulateByKey
Link copied to clipboard
common
fun <K, V> ReceiveChannel<Pair<K, V>>.accumulateByKey(delayMillis: Long, scope: CoroutineScope = CoroutineScope(Dispatchers.Default), resultBroadcastChannelCapacity: Int = 32): ReceiveChannel<AccumulatedValues<K, V>>
asReference
Link copied to clipboard
fun <T> T.asReference(): WeakReference<T>
escapeMarkdownV2Common
Link copied to clipboard
common
fun String.escapeMarkdownV2Common(): String
escapeMarkdownV2Link
Link copied to clipboard
common
fun String.escapeMarkdownV2Link(): String
escapeMarkdownV2PreAndCode
Link copied to clipboard
common
fun String.escapeMarkdownV2PreAndCode(): String
toHtml
Link copied to clipboard
common
fun String.toHtml(): String
toMarkdown
Link copied to clipboard
common
fun String.toMarkdown(): String