Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.deleteStory(businessConnectionId: BusinessConnectionId, storyId: StoryId): Boolean

Deletes a story from a business account

suspend fun TelegramBot.deleteStory(businessConnectionId: BusinessConnectionId, story: Story): Boolean
suspend fun TelegramBot.deleteStory(message: BusinessContentMessage<*>, storyId: StoryId): Boolean
suspend fun TelegramBot.deleteStory(message: BusinessContentMessage<*>, story: Story): Boolean
Link copied to clipboard
suspend fun TelegramBot.editStory(businessConnectionId: BusinessConnectionId, storyId: StoryId, content: InputStoryContent, areas: List<StoryArea> = emptyList()): Story
suspend fun TelegramBot.editStory(businessConnectionId: BusinessConnectionId, storyId: StoryId, content: InputStoryContent, textSources: List<TextSource>, areas: List<StoryArea> = emptyList()): Story
suspend fun TelegramBot.editStory(businessConnectionId: BusinessConnectionId, storyId: StoryId, content: InputStoryContent, text: String, parseMode: ParseMode? = null, areas: List<StoryArea> = emptyList()): Story
suspend fun TelegramBot.editStory(businessConnectionId: BusinessConnectionId, storyId: StoryId, content: InputStoryContent, areas: List<StoryArea> = emptyList(), separator: TextSource? = null, textBuilder: EntitiesBuilderBody): Story
Link copied to clipboard
suspend fun TelegramBot.postStory(businessConnectionId: BusinessConnectionId, content: InputStoryContent, activePeriod: Seconds, areas: List<StoryArea> = emptyList(), postToChatPage: Boolean = false, protectContent: Boolean = false): Story
suspend fun TelegramBot.postStory(businessConnectionId: BusinessConnectionId, content: InputStoryContent, activePeriod: Seconds, textSources: List<TextSource>, areas: List<StoryArea> = emptyList(), postToChatPage: Boolean = false, protectContent: Boolean = false): Story
suspend fun TelegramBot.postStory(businessConnectionId: BusinessConnectionId, content: InputStoryContent, activePeriod: Seconds, text: String, parseMode: ParseMode? = null, areas: List<StoryArea> = emptyList(), postToChatPage: Boolean = false, protectContent: Boolean = false): Story
suspend fun TelegramBot.postStory(businessConnectionId: BusinessConnectionId, content: InputStoryContent, activePeriod: Seconds, areas: List<StoryArea> = emptyList(), postToChatPage: Boolean = false, protectContent: Boolean = false, separator: TextSource? = null, textBuilder: EntitiesBuilderBody): Story