Package dev.inmo.tgbotapi.requests.chat.members

Types

BanChatMember
Link copied to clipboard
common
data class BanChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, revokeMessages: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
GetChatMember
Link copied to clipboard
common
data class GetChatMember(chatId: ChatIdentifier, userId: UserId) : ChatMemberRequest<ChatMember>
PromoteChatMember
Link copied to clipboard
common
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?, canManageVoiceChats: Boolean?, canManageChat: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
RestrictChatMember
Link copied to clipboard
common
data class RestrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
SetChatAdministratorCustomTitle
Link copied to clipboard
common
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: UserId, customTitle: String) : ChatMemberRequest<Boolean>
UnbanChatMember
Link copied to clipboard
common
data class UnbanChatMember(chatId: ChatIdentifier, userId: UserId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>