Package dev. inmo. tgbotapi. requests. chat. members
Types
GetChatMember
Link copied to clipboard
data class GetChatMember(chatId: ChatIdentifier, userId: UserId) : ChatMemberRequest<ChatMember>
Content copied to clipboard
KickChatMember
Link copied to clipboard
data class KickChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, revokeMessages: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
PromoteChatMember
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?, canManageVoiceChats: Boolean?, canManageChat: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
RestrictChatMember
Link copied to clipboard
data class RestrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
SetChatAdministratorCustomTitle
Link copied to clipboard
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: UserId, customTitle: String) : ChatMemberRequest<Boolean>
Content copied to clipboard
UnbanChatMember
Link copied to clipboard
data class UnbanChatMember(chatId: ChatIdentifier, userId: UserId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>
Content copied to clipboard