docs
3.3.1
common
jvm
docs
/
dev.inmo.tgbotapi.utils.extensions
Package-level
declarations
Types
Functions
Types
Accumulated
Values
Link copied to clipboard
typealias
AccumulatedValues
<
K
,
V
>
=
Pair
<
K
,
List
<
V
>
>
Functions
accumulate
By
Key
Link copied to clipboard
fun
<
K
,
V
>
ReceiveChannel
<
Pair
<
K
,
V
>
>
.
accumulateByKey
(
delayMillis
:
Long
,
scope
:
CoroutineScope
=
CoroutineScope(Dispatchers.Default)
,
resultBroadcastChannelCapacity
:
Int
=
32
)
:
ReceiveChannel
<
AccumulatedValues
<
K
,
V
>
>
as
Reference
Link copied to clipboard
jvm
fun
<
T
>
T
.
asReference
(
)
:
WeakReference
<
T
>
create
Web
App
Start
Param
Link copied to clipboard
fun
createWebAppStartParam
(
value
:
String
)
:
Pair
<
String
,
String
>
escape
Markdown
V2Common
Link copied to clipboard
fun
String
.
escapeMarkdownV2Common
(
)
:
String
escape
Markdown
V2Link
Link copied to clipboard
fun
String
.
escapeMarkdownV2Link
(
)
:
String
escape
Markdown
V2Pre
And
Code
Link copied to clipboard
fun
String
.
escapeMarkdownV2PreAndCode
(
)
:
String
make
Html
String
Link copied to clipboard
inline
fun
TextSourcesList
.
makeHtmlString
(
)
:
String
make
Markdown
String
Link copied to clipboard
inline
fun
TextSourcesList
.
makeMarkdownString
(
)
:
String
make
Markdown
V2String
Link copied to clipboard
inline
fun
TextSourcesList
.
makeMarkdownV2String
(
)
:
String
make
Source
String
Link copied to clipboard
inline
fun
TextSourcesList
.
makeSourceString
(
)
:
String
make
String
Link copied to clipboard
inline
fun
TextSourcesList
.
makeString
(
parseMode
:
ParseMode
?
=
null
)
:
String
to
Html
Link copied to clipboard
fun
String
.
toHtml
(
)
:
String
to
Markdown
Link copied to clipboard
fun
String
.
toMarkdown
(
)
:
String