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

Types

GetChatMember
Link copied to clipboard
common
data class GetChatMember(chatId: ChatIdentifier, userId: ChatId) : ChatMemberRequest<ChatMember>
KickChatMember
Link copied to clipboard
common
data class KickChatMember(chatId: ChatIdentifier, userId: ChatId, untilDate: TelegramDate?) : ChatMemberRequest<Boolean> , UntilDate
PromoteChatMember
Link copied to clipboard
common
data class PromoteChatMember(chatId: ChatIdentifier, userId: ChatId, untilDate: TelegramDate?, isAnonymous: Boolean?, canChangeInfo: Boolean?, canPostMessages: Boolean?, canEditMessages: Boolean?, canDeleteMessages: Boolean?, canInviteUsers: Boolean?, canRestrictMembers: Boolean?, canPinMessages: Boolean?, canPromoteMembers: Boolean?) : ChatMemberRequest<Boolean> , UntilDate
RestrictChatMember
Link copied to clipboard
common
data class RestrictChatMember(chatId: ChatIdentifier, userId: ChatId, untilDate: TelegramDate?, permissions: ChatPermissions) : ChatMemberRequest<Boolean> , UntilDate
SetChatAdministratorCustomTitle
Link copied to clipboard
common
data class SetChatAdministratorCustomTitle(chatId: ChatIdentifier, userId: ChatId, customTitle: String) : ChatMemberRequest<Boolean>
UnbanChatMember
Link copied to clipboard
common
data class UnbanChatMember(chatId: ChatIdentifier, userId: ChatId, onlyIfBanned: Boolean?) : ChatMemberRequest<Boolean>