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
Link copied to clipboard
data class BanChatSenderChat(chatId: ChatIdentifier, senderChatId: ChatId) : ChatSenderRequest

Representation of banChatSenderChat request

Link copied to clipboard
data class GetChatMember(chatId: ChatIdentifier, userId: UserId) : ChatMemberRequest<ChatMember>
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
Link copied to clipboard
data class RestrictChatMember(chatId: ChatIdentifier, userId: UserId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
Link copied to clipboard
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: UserId, customTitle: String) : ChatMemberRequest<Boolean>
Link copied to clipboard
data class UnbanChatMember(chatId: ChatIdentifier, userId: UserId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>
Link copied to clipboard
data class UnbanChatSenderChat(chatId: ChatIdentifier, senderChatId: ChatId) : ChatSenderRequest

Representation of unbanChatSenderChat request