<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">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>
<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> defaultMessageSenderId,
boolean hasProtectedContent,
boolean isMarkedAsUnread,
boolean isBlocked,
boolean hasScheduledMessages,
boolean canBeDeletedOnlyForSelf,
boolean canBeDeletedForAllUsers,
boolean canBeReported,
boolean defaultDisableNotification,
int unreadCount,
long lastReadInboxMessageId,
long lastReadOutboxMessageId,
int unreadMentionCount,
<ahref="../TdApi.ChatNotificationSettings.html"title="class in it.tdlight.jni">TdApi.ChatNotificationSettings</a> notificationSettings,
int messageTtlSetting,
<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
<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
<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
<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 canGetStatistics,
boolean canGetMessageThread,
boolean canGetViewers,
boolean canGetMediaTimestampLinks,
boolean hasTimestampedMedia,
boolean isChannelPost,
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,
long replyInChatId,
long replyToMessageId,
long messageThreadId,
int ttl,
double ttlExpiresIn,
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>
<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 even-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
<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