<h1title="Uses of Class it.tdlight.jni.TdApi.MessageSender"class="title">Uses of Class<br>it.tdlight.jni.TdApi.MessageSender</h1>
</div>
<sectionclass="class-uses">
<ulclass="block-list">
<li>
<sectionclass="detail"id="it.tdlight.jni">
<h2>Uses of <ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> in <ahref="../package-summary.html">it.tdlight.jni</a></h2>
<divclass="caption"><span>Subclasses of <ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> in <ahref="../package-summary.html">it.tdlight.jni</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="col-first even-row-color"><code>static final class </code></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageSenderChat.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSenderChat</a></code></div>
<divclass="col-last even-row-color">
<divclass="block">The message was sent on behalf of a chat.</div>
</div>
<divclass="col-first odd-row-color"><code>static final class </code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageSenderUser.html"class="type-name-link"title="class in it.tdlight.jni">TdApi.MessageSenderUser</a></code></div>
<divclass="col-last odd-row-color">
<divclass="block">The message was sent by a known user.</div>
</div>
</div>
<divclass="caption"><span>Fields in <ahref="../package-summary.html">it.tdlight.jni</a> declared as <ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a></span></div>
<divclass="summary-table three-column-summary">
<divclass="table-header col-first">Modifier and Type</div>
<divclass="block">Identifier of a user or chat that is selected to send messages in the chat; may be null if the user can't change message sender.</div>
</div>
<divclass="col-first even-row-color"><code><ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a></code></div>
<divclass="block">The identifier of a user or chat that subscribed for the proximity alert.</div>
</div>
</div>
<divclass="caption"><span>Constructors in <ahref="../package-summary.html">it.tdlight.jni</a> with parameters of type <ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a></span></div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.AddedReaction.html#%3Cinit%3E(it.tdlight.jni.TdApi.ReactionType,it.tdlight.jni.TdApi.MessageSender,int)"class="member-name-link">AddedReaction</a><wbr>(<ahref="../TdApi.ReactionType.html"title="class in it.tdlight.jni">TdApi.ReactionType</a> type,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
int date)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Represents a reaction applied to a message.</div>
<ahref="../TdApi.ChatType.html"title="class in it.tdlight.jni">TdApi.ChatType</a> type,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> title,
<ahref="../TdApi.ChatPhotoInfo.html"title="class in it.tdlight.jni">TdApi.ChatPhotoInfo</a> photo,
<ahref="../TdApi.ChatPermissions.html"title="class in it.tdlight.jni">TdApi.ChatPermissions</a> permissions,
<ahref="../TdApi.Message.html"title="class in it.tdlight.jni">TdApi.Message</a> lastMessage,
<ahref="../TdApi.ChatPosition.html"title="class in it.tdlight.jni">TdApi.ChatPosition</a>[] positions,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> messageSenderId,
boolean hasProtectedContent,
boolean isTranslatable,
boolean isMarkedAsUnread,
boolean isBlocked,
boolean hasScheduledMessages,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canBeReported,
boolean defaultDisableNotification,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
int unreadReactionCount,
<ahref="../TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a> notificationSettings,
<ahref="../TdApi.ChatAvailableReactions.html"title="class in it.tdlight.jni">TdApi.ChatAvailableReactions</a> availableReactions,
int messageAutoDeleteTime,
<ahref="../TdApi.ChatBackground.html"title="class in it.tdlight.jni">TdApi.ChatBackground</a> background,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> themeName,
<ahref="../TdApi.ChatActionBar.html"title="class in it.tdlight.jni">TdApi.ChatActionBar</a> actionBar,
<ahref="../TdApi.VideoChat.html"title="class in it.tdlight.jni">TdApi.VideoChat</a> videoChat,
<ahref="../TdApi.ChatJoinRequestsInfo.html"title="class in it.tdlight.jni">TdApi.ChatJoinRequestsInfo</a> pendingJoinRequests,
long replyMarkupMessageId,
<ahref="../TdApi.DraftMessage.html"title="class in it.tdlight.jni">TdApi.DraftMessage</a> draftMessage,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> clientData)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ChatEventMemberRestricted.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,it.tdlight.jni.TdApi.ChatMemberStatus,it.tdlight.jni.TdApi.ChatMemberStatus)"class="member-name-link">ChatEventMemberRestricted</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> memberId,
<ahref="../TdApi.ChatMemberStatus.html"title="class in it.tdlight.jni">TdApi.ChatMemberStatus</a> oldStatus,
<ahref="../TdApi.ChatMemberStatus.html"title="class in it.tdlight.jni">TdApi.ChatMemberStatus</a> newStatus)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ChatEventVideoChatParticipantIsMutedToggled.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,boolean)"class="member-name-link">ChatEventVideoChatParticipantIsMutedToggled</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> participantId,
boolean isMuted)</code></div>
<divclass="col-last even-row-color">
<divclass="block">A video chat participant was muted or unmuted.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ChatEventVideoChatParticipantVolumeLevelChanged.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,int)"class="member-name-link">ChatEventVideoChatParticipantVolumeLevelChanged</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> participantId,
int volumeLevel)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A video chat participant volume level was changed.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ChatMember.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,long,int,it.tdlight.jni.TdApi.ChatMemberStatus)"class="member-name-link">ChatMember</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> memberId,
long inviterUserId,
int joinedChatDate,
<ahref="../TdApi.ChatMemberStatus.html"title="class in it.tdlight.jni">TdApi.ChatMemberStatus</a> status)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Describes a user or a chat as a member of another chat.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.ChatMessageSender.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,boolean)"class="member-name-link">ChatMessageSender</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> sender,
boolean needsPremium)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Represents a message sender, which can be used to send messages in a chat.</div>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> name,
<ahref="../TdApi.ForumTopicIcon.html"title="class in it.tdlight.jni">TdApi.ForumTopicIcon</a> icon,
int creationDate,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> creatorId,
boolean isGeneral,
boolean isOutgoing,
boolean isClosed,
boolean isHidden)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains basic information about a forum topic.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.GroupCallParticipant.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,int,int,it.tdlight.jni.TdApi.GroupCallParticipantVideoInfo,it.tdlight.jni.TdApi.GroupCallParticipantVideoInfo,java.lang.String,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,boolean,int,java.lang.String)"class="member-name-link">GroupCallParticipant</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> participantId,
int audioSourceId,
int screenSharingAudioSourceId,
<ahref="../TdApi.GroupCallParticipantVideoInfo.html"title="class in it.tdlight.jni">TdApi.GroupCallParticipantVideoInfo</a> videoInfo,
<ahref="../TdApi.GroupCallParticipantVideoInfo.html"title="class in it.tdlight.jni">TdApi.GroupCallParticipantVideoInfo</a> screenSharingVideoInfo,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> bio,
boolean isCurrentUser,
boolean isSpeaking,
boolean isHandRaised,
boolean canBeMutedForAllUsers,
boolean canBeUnmutedForAllUsers,
boolean canBeMutedForCurrentUser,
boolean canBeUnmutedForCurrentUser,
boolean isMutedForAllUsers,
boolean isMutedForCurrentUser,
boolean canUnmuteSelf,
int volumeLevel,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> order)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Represents a group call participant.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.GroupCallRecentSpeaker.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,boolean)"class="member-name-link">GroupCallRecentSpeaker</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> participantId,
boolean isSpeaking)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Describes a recently speaking participant in a group call.</div>
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> participantId,
int audioSourceId,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> payload,
boolean isMuted,
boolean isMyVideoEnabled,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> inviteHash)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Joins an active group call.</div>
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
long chatId,
<ahref="../TdApi.MessageSendingState.html"title="class in it.tdlight.jni">TdApi.MessageSendingState</a> sendingState,
<ahref="../TdApi.MessageSchedulingState.html"title="class in it.tdlight.jni">TdApi.MessageSchedulingState</a> schedulingState,
boolean isOutgoing,
boolean isPinned,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeSaved,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canGetAddedReactions,
boolean canGetStatistics,
boolean canGetMessageThread,
boolean canGetViewers,
boolean canGetMediaTimestampLinks,
boolean canReportReactions,
boolean hasTimestampedMedia,
boolean isChannelPost,
boolean isTopicMessage,
boolean containsUnreadMention,
int date,
int editDate,
<ahref="../TdApi.MessageForwardInfo.html"title="class in it.tdlight.jni">TdApi.MessageForwardInfo</a> forwardInfo,
<ahref="../TdApi.MessageInteractionInfo.html"title="class in it.tdlight.jni">TdApi.MessageInteractionInfo</a> interactionInfo,
<ahref="../TdApi.UnreadReaction.html"title="class in it.tdlight.jni">TdApi.UnreadReaction</a>[] unreadReactions,
long replyInChatId,
long replyToMessageId,
long messageThreadId,
int selfDestructTime,
double selfDestructIn,
double autoDeleteIn,
long viaBotUserId,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> authorSignature,
long mediaAlbumId,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> restrictionReason,
<ahref="../TdApi.MessageContent.html"title="class in it.tdlight.jni">TdApi.MessageContent</a> content,
<ahref="../TdApi.ReplyMarkup.html"title="class in it.tdlight.jni">TdApi.ReplyMarkup</a> replyMarkup)</code></div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.MessageProximityAlertTriggered.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,it.tdlight.jni.TdApi.MessageSender,int)"class="member-name-link">MessageProximityAlertTriggered</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> travelerId,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> watcherId,
int distance)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">A user in the chat came within proximity alert range.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.MessageReaction.html#%3Cinit%3E(it.tdlight.jni.TdApi.ReactionType,int,boolean,it.tdlight.jni.TdApi.MessageSender%5B%5D)"class="member-name-link">MessageReaction</a><wbr>(<ahref="../TdApi.ReactionType.html"title="class in it.tdlight.jni">TdApi.ReactionType</a> type,
int totalCount,
boolean isChosen,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a>[] recentSenderIds)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Contains information about a reaction to a message.</div>
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> senderName,
boolean isOutgoing,
<ahref="../TdApi.PushMessageContent.html"title="class in it.tdlight.jni">TdApi.PushMessageContent</a> content)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">New message was received through a push notification.</div>
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> query,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
long fromMessageId,
int offset,
int limit,
<ahref="../TdApi.SearchMessagesFilter.html"title="class in it.tdlight.jni">TdApi.SearchMessagesFilter</a> filter,
long messageThreadId)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Searches for messages with given words in the chat.</div>
<divclass="col-second even-row-color"><code><ahref="../TdApi.ToggleMessageSenderIsBlocked.html#%3Cinit%3E(it.tdlight.jni.TdApi.MessageSender,boolean)"class="member-name-link">ToggleMessageSenderIsBlocked</a><wbr>(<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
boolean isBlocked)</code></div>
<divclass="col-last even-row-color">
<divclass="block">Changes the block state of a message sender.</div>
<divclass="col-second odd-row-color"><code><ahref="../TdApi.UnreadReaction.html#%3Cinit%3E(it.tdlight.jni.TdApi.ReactionType,it.tdlight.jni.TdApi.MessageSender,boolean)"class="member-name-link">UnreadReaction</a><wbr>(<ahref="../TdApi.ReactionType.html"title="class in it.tdlight.jni">TdApi.ReactionType</a> type,
<ahref="../TdApi.MessageSender.html"title="class in it.tdlight.jni">TdApi.MessageSender</a> senderId,
boolean isBig)</code></div>
<divclass="col-last odd-row-color">
<divclass="block">Contains information about an unread reaction to a message.</div>