Package dev. inmo. tgbotapi. extensions. api. chat. modify
Functions
delete Chat Photo
Link copied to clipboard
pin Chat Message
Link copied to clipboard
suspend fun TelegramBot.pinChatMessage(message: Message, disableNotification: Boolean = false): Boolean
Content copied to clipboard
suspend fun TelegramBot.pinChatMessage(chatId: ChatIdentifier, messageId: MessageIdentifier, disableNotification: Boolean = false): Boolean
Content copied to clipboard
suspend fun TelegramBot.pinChatMessage(chat: Chat, messageId: MessageIdentifier, disableNotification: Boolean = false): Boolean
Content copied to clipboard
set Chat Description
Link copied to clipboard
suspend fun TelegramBot.setChatDescription(chatId: ChatIdentifier, description: String): Boolean
Content copied to clipboard
suspend fun TelegramBot.setChatDescription(chat: PublicChat, description: String): Boolean
Content copied to clipboard
set Chat Photo
Link copied to clipboard
suspend fun TelegramBot.setChatPhoto(chatId: ChatIdentifier, photo: MultipartFile): Boolean
Content copied to clipboard
suspend fun TelegramBot.setChatPhoto(chat: PublicChat, photo: MultipartFile): Boolean
Content copied to clipboard
set Chat Title
Link copied to clipboard
suspend fun TelegramBot.setChatTitle(chatId: ChatIdentifier, title: String): Boolean
Content copied to clipboard
suspend fun TelegramBot.setChatTitle(chat: PublicChat, title: String): Boolean
Content copied to clipboard
set Default Chat Members Permissions
Link copied to clipboard
suspend fun TelegramBot.setDefaultChatMembersPermissions(chatId: ChatIdentifier, permissions: ChatPermissions): Boolean
Content copied to clipboard
suspend fun TelegramBot.setDefaultChatMembersPermissions(chat: PublicChat, permissions: ChatPermissions): Boolean
Content copied to clipboard
unpin All Chat Messages
Link copied to clipboard
suspend fun TelegramBot.unpinAllChatMessages(chatId: ChatIdentifier): Boolean
Content copied to clipboard
unpin Chat Message
Link copied to clipboard
suspend fun TelegramBot.unpinChatMessage(chatId: ChatIdentifier, messageId: MessageIdentifier? = null): Boolean
Content copied to clipboard
suspend fun TelegramBot.unpinChatMessage(chat: Chat, messageId: MessageIdentifier? = null): Boolean
Content copied to clipboard