customEmoji

inline fun EntitiesBuilder.customEmoji(customEmojiId: CustomEmojiId, vararg parts: TextSource): EntitiesBuilder

Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.customEmoji
customEmoji(customEmojiId, parts)

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


Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.customEmoji
customEmoji(customEmojiId, init)

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


Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.customEmoji
customEmoji(customEmojiId, text)

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