email

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


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

Deprecated

Replaced in core module

Replace with

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

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


Deprecated

Replaced in core module

Replace with

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

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


inline fun EntitiesBuilder.email(emailAddress: String): EntitiesBuilder

Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.email
email(emailAddress)

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