# Uses of Class
it.tdlight.jni.TdApi.BlockList

## Uses of TdApi.BlockList in it.tdlight.jni

Subclasses of TdApi.BlockList in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.BlockListMain`
The main block list that disallows writing messages to the current user, receiving their status and photo, viewing of stories, and some other actions.
`static final class`
`TdApi.BlockListStories`
The block list that disallows viewing of stories of the current user.
Fields in it.tdlight.jni declared as TdApi.BlockList
Modifier and Type
Field
Description
`TdApi.BlockList`
TdApi.Chat.`blockList`
Block list to which the chat is added; may be null if none.
`TdApi.BlockList`
TdApi.GetBlockedMessageSenders.`blockList`
Block list from which to return users.
`TdApi.BlockList`
TdApi.SetMessageSenderBlockList.`blockList`
New block list for the message sender; pass null to unblock the message sender.
`TdApi.BlockList`
TdApi.StoryInteraction.`blockList`
Block list to which the actor is added; may be null if none or for chat stories.
`TdApi.BlockList`
TdApi.UpdateChatBlockList.`blockList`
Block list to which the chat is added; may be null if none.
`TdApi.BlockList`
TdApi.UserFullInfo.`blockList`
Block list to which the user is added; may be null if none.
Constructors in it.tdlight.jni with parameters of type TdApi.BlockList
Modifier
Constructor
Description
``
`Chat(long id, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, int accentColorId, long backgroundCustomEmojiId, int profileAccentColorId, long profileBackgroundCustomEmojiId, TdApi.ChatPermissions permissions, TdApi.Message lastMessage, TdApi.ChatPosition[] positions, TdApi.ChatList[] chatLists, TdApi.MessageSender messageSenderId, TdApi.BlockList blockList, boolean hasProtectedContent, boolean isTranslatable, boolean isMarkedAsUnread, boolean viewAsTopics, boolean hasScheduledMessages, boolean canBeDeletedOnlyForSelf, boolean canBeDeletedForAllUsers, boolean canBeReported, boolean defaultDisableNotification, int unreadCount, long lastReadInboxMessageId, long lastReadOutboxMessageId, int unreadMentionCount, int unreadReactionCount, TdApi.ChatNotificationSettings notificationSettings, TdApi.ChatAvailableReactions availableReactions, int messageAutoDeleteTime, TdApi.EmojiStatus emojiStatus, TdApi.ChatBackground background, String themeName, TdApi.ChatActionBar actionBar, TdApi.VideoChat videoChat, TdApi.ChatJoinRequestsInfo pendingJoinRequests, long replyMarkupMessageId, TdApi.DraftMessage draftMessage, String clientData)`
A chat.
``
`GetBlockedMessageSenders(TdApi.BlockList blockList, int offset, int limit)`
Returns users and chats that were blocked by the current user.
``
`SetMessageSenderBlockList(TdApi.MessageSender senderId, TdApi.BlockList blockList)`
Changes the block list of a message sender.
``
`StoryInteraction(TdApi.MessageSender actorId, int interactionDate, TdApi.BlockList blockList, TdApi.StoryInteractionType type)`
Represents interaction with a story.
``
`UpdateChatBlockList(long chatId, TdApi.BlockList blockList)`
A chat was blocked or unblocked.
``
`UserFullInfo(TdApi.ChatPhoto personalPhoto, TdApi.ChatPhoto photo, TdApi.ChatPhoto publicPhoto, TdApi.BlockList blockList, boolean canBeCalled, boolean supportsVideoCalls, boolean hasPrivateCalls, boolean hasPrivateForwards, boolean hasRestrictedVoiceAndVideoNoteMessages, boolean hasPinnedStories, boolean needPhoneNumberPrivacyException, boolean setChatBackground, TdApi.FormattedText bio, TdApi.PremiumPaymentOption[] premiumGiftOptions, int groupInCommonCount, TdApi.BusinessInfo businessInfo, TdApi.BotInfo botInfo)`
Contains full information about a user.