Package dev. inmo. tgbotapi. requests. chat. members
Types
Link copied to clipboard
data class BanChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, revokeMessages: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class BanChatSenderChat(chatId: ChatIdentifier, senderChatId: ChatId) : ChatSenderRequest
Content copied to clipboard
Representation of banChatSenderChat request
Link copied to clipboard
data class GetChatMember(chatId: ChatIdentifier, userId: UserId) : ChatMemberRequest<ChatMember>
Content copied to clipboard
Link copied to clipboard
data class PromoteChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, isAnonymous: Boolean?, canChangeInfo: Boolean?, canPostMessages: Boolean?, canEditMessages: Boolean?, canDeleteMessages: Boolean?, canInviteUsers: Boolean?, canRestrictMembers: Boolean?, canPinMessages: Boolean?, canPromoteMembers: Boolean?, canManageVideoChats: Boolean?, canManageChat: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class RestrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: UserId, customTitle: String) : ChatMemberRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class UnbanChatMember(chatId: ChatIdentifier, userId: UserId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class UnbanChatSenderChat(chatId: ChatIdentifier, senderChatId: ChatId) : ChatSenderRequest
Content copied to clipboard
Representation of unbanChatSenderChat request