Package dev. inmo. tgbotapi. requests. chat. members
Types
Link copied to clipboard
data class BanChatMember( val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, val revokeMessages: Boolean? = null) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class BanChatSenderChat(val chatId: ChatIdentifier, val senderChatId: ChatId) : ChatSenderRequest
Content copied to clipboard
Representation of banChatSenderChat request
Link copied to clipboard
data class GetChatMember(val chatId: ChatIdentifier, val userId: UserId) : ChatMemberRequest<ChatMember>
Content copied to clipboard
Link copied to clipboard
data class PromoteChatMember( val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, isAnonymous: Boolean? = null, canChangeInfo: Boolean? = null, canPostMessages: Boolean? = null, canEditMessages: Boolean? = null, canDeleteMessages: Boolean? = null, canInviteUsers: Boolean? = null, canRestrictMembers: Boolean? = null, canPinMessages: Boolean? = null, canPromoteMembers: Boolean? = null, canManageVideoChats: Boolean? = null, canManageChat: Boolean? = null) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class RestrictChatMember( val chatId: ChatIdentifier, val userId: UserId, val untilDate: TelegramDate? = null, val permissions: ChatPermissions = ChatPermissions()) : ChatMemberRequest<Boolean> , UntilDate
Content copied to clipboard
Link copied to clipboard
data class SetChatAdministratorCustomTitle( val chatId: ChatIdentifier, val userId: UserId, val customTitle: String) : ChatMemberRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class UnbanChatMember( val chatId: ChatIdentifier, val userId: UserId, val onlyIfBanned: Boolean? = null) : ChatMemberRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class UnbanChatSenderChat(val chatId: ChatIdentifier, val senderChatId: ChatId) : ChatSenderRequest
Content copied to clipboard
Representation of unbanChatSenderChat request