Package dev. inmo. tgbotapi. requests. chat. members
Types
Ban Chat Member
Link copied to clipboard
data class BanChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, revokeMessages: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Get Chat Member
Link copied to clipboard
data class GetChatMember(chatId: ChatIdentifier, userId: UserId) : ChatMemberRequest<ChatMember>
Content copied to clipboard
Promote Chat Member
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
Restrict Chat Member
Link copied to clipboard
data class RestrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Set Chat Administrator Custom Title
Link copied to clipboard
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: UserId, customTitle: String) : ChatMemberRequest<Boolean>
Content copied to clipboard
Unban Chat Member
Link copied to clipboard
data class UnbanChatMember(chatId: ChatIdentifier, userId: UserId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>
Content copied to clipboard