phone

infix fun String.phone(parseMode: ParseMode): String


inline fun EntitiesBuilder.phone(vararg parts: TextSource): EntitiesBuilder

Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.phone
phone(parts)

Add phone using EntitiesBuilder.add with dev.inmo.tgbotapi.types.message.textsources.phone


Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.phone
phone(init)

Add phone using EntitiesBuilder.add with dev.inmo.tgbotapi.types.message.textsources.phone. Will reuse separator config from buildEntities


Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.phone
phone(number)

Add phone using EntitiesBuilder.add with dev.inmo.tgbotapi.types.message.textsources.phone