spoiler

Deprecated

Replaced in core module

Replace with

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

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


Deprecated

Replaced in core module

Replace with

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

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


Deprecated

Replaced in core module

Replace with

import dev.inmo.tgbotapi.utils.spoiler
spoiler(text)

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