PostStoryAction
class PostStoryAction(businessConnectionId: String, content: InputStoryContent, activePeriod: Duration) : SimpleAction<Story> , CaptionFeature<PostStoryAction> , OptionsFeature<PostStoryAction, PostStoryOptions> (source)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
DSL for adding captions
Link copied to clipboard
Caption entities DSL with EntitiesBuilder
Caption entities
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun EntitiesExtBuilder.customEmoji(customEmojiId: String? = null, block: () -> String): Triple<EntityType, String, String?>
Link copied to clipboard
open fun EntitiesExtBuilder.dateTime(unixTime: Instant, dateTimeFormat: String): Triple<EntityType, String, Pair<Instant, String>>
Add a EntityType.DateTime entity. Use to show a formatted date and time to the user. The format string is used as the visible text (client will display the formatted date). Example: "Event at " - dateTime(instant, "dd.MM.yyyy HH:mm")
Link copied to clipboard
Link copied to clipboard
open suspend override fun Request<Story>.doRequestReturning(bot: TelegramBot): Deferred<Response<out Story>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Lambda function to change options
Link copied to clipboard
Link copied to clipboard
open fun EntitiesExtBuilder.pre(language: String? = null, block: () -> String): Triple<EntityType, String, String?>
Link copied to clipboard
Send request for action.
Link copied to clipboard
Send request returning its Response.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun EntitiesExtBuilder.textLink(url: String? = null, block: () -> String): Triple<EntityType, String, String?>
Link copied to clipboard
open fun EntitiesExtBuilder.textMention(user: User? = null, block: () -> String): Triple<EntityType, String, User?>
Link copied to clipboard
Payload to make response for the webhook request as described there.
Link copied to clipboard
Link copied to clipboard