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

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

Subclasses of TdApi.MessageSender in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.MessageSenderChat`
The message was sent on behalf of a chat.
`static final class`
`TdApi.MessageSenderUser`
The message was sent by a known user.
Fields in it.tdlight.jni declared as TdApi.MessageSender
Modifier and Type
Field
Description
`TdApi.MessageSender`
TdApi.SetVideoChatDefaultParticipant.`defaultParticipantId`
Default group call participant identifier to join the video chats.
`TdApi.MessageSender`
TdApi.VideoChat.`defaultParticipantId`
Default group call participant identifier to join the video chat; may be null.
`TdApi.MessageSender`
TdApi.BanChatMember.`memberId`
Member identifier.
`TdApi.MessageSender`
TdApi.ChatEventMemberRestricted.`memberId`
Affected chat member identifier.
`TdApi.MessageSender`
TdApi.ChatMember.`memberId`
Identifier of the chat member.
`TdApi.MessageSender`
TdApi.GetChatMember.`memberId`
Member identifier.
`TdApi.MessageSender`
TdApi.SetChatMemberStatus.`memberId`
Member identifier.
`TdApi.MessageSender`
TdApi.ChatEventVideoChatParticipantIsMutedToggled.`participantId`
Identifier of the affected group call participant.
`TdApi.MessageSender`
TdApi.ChatEventVideoChatParticipantVolumeLevelChanged.`participantId`
Identifier of the affected group call participant.
`TdApi.MessageSender`
TdApi.GroupCallParticipant.`participantId`
Identifier of the group call participant.
`TdApi.MessageSender`
TdApi.GroupCallRecentSpeaker.`participantId`
Group call participant identifier.
`TdApi.MessageSender`
TdApi.JoinGroupCall.`participantId`
Identifier of a group call participant, which will be used to join the call; pass null to join as self; video chats only.
`TdApi.MessageSender`
TdApi.SetGroupCallParticipantVolumeLevel.`participantId`
Participant identifier.
`TdApi.MessageSender`
TdApi.ToggleGroupCallParticipantIsHandRaised.`participantId`
Participant identifier.
`TdApi.MessageSender`
TdApi.ToggleGroupCallParticipantIsMuted.`participantId`
Participant identifier.
`TdApi.MessageSender[]`
TdApi.MessageReplyInfo.`recentRepliers`
Recent repliers to the message; available in channels with a discussion supergroup.
`TdApi.MessageSender`
TdApi.AddLocalMessage.`sender`
The sender of the message.
`TdApi.MessageSender`
TdApi.Message.`sender`
The sender of the message.
`TdApi.MessageSender`
TdApi.NotificationTypeNewPushMessage.`sender`
The sender of the message.
`TdApi.MessageSender`
TdApi.SearchChatMessages.`sender`
Sender of messages to search for; pass null to search for messages from any sender.
`TdApi.MessageSender`
TdApi.ToggleMessageSenderIsBlocked.`sender`
Message Sender.
`TdApi.MessageSender[]`
TdApi.MessageSenders.`senders`
List of message senders.
`TdApi.MessageSender`
TdApi.MessageProximityAlertTriggered.`traveler`
The user or chat, which triggered the proximity alert.
`TdApi.MessageSender`
TdApi.MessageProximityAlertTriggered.`watcher`
The user or chat, which subscribed for the proximity alert.
Constructors in it.tdlight.jni with parameters of type TdApi.MessageSender
Modifier
Constructor
Description
``
`AddLocalMessage(long chatId, TdApi.MessageSender sender, long replyToMessageId, boolean disableNotification, TdApi.InputMessageContent inputMessageContent)`
Adds a local message to a chat.
``
`BanChatMember(long chatId, TdApi.MessageSender memberId, int bannedUntilDate, boolean revokeMessages)`
Bans a member in a chat.
``
`ChatEventMemberRestricted(TdApi.MessageSender memberId, TdApi.ChatMemberStatus oldStatus, TdApi.ChatMemberStatus newStatus)`
A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
``
`ChatEventVideoChatParticipantIsMutedToggled(TdApi.MessageSender participantId, boolean isMuted)`
A video chat participant was muted or unmuted.
``
`ChatEventVideoChatParticipantVolumeLevelChanged(TdApi.MessageSender participantId, int volumeLevel)`
A video chat participant volume level was changed.
``
`ChatMember(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status)`
Describes a user or a chat as a member of another chat.
``
`GetChatMember(long chatId, TdApi.MessageSender memberId)`
Returns information about a single member of a chat.
``
`GroupCallParticipant(TdApi.MessageSender participantId, int audioSourceId, int screenSharingAudioSourceId, TdApi.GroupCallParticipantVideoInfo videoInfo, TdApi.GroupCallParticipantVideoInfo screenSharingVideoInfo, String bio, boolean isCurrentUser, boolean isSpeaking, boolean isHandRaised, boolean canBeMutedForAllUsers, boolean canBeUnmutedForAllUsers, boolean canBeMutedForCurrentUser, boolean canBeUnmutedForCurrentUser, boolean isMutedForAllUsers, boolean isMutedForCurrentUser, boolean canUnmuteSelf, int volumeLevel, String order)`
Represents a group call participant.
``
`GroupCallRecentSpeaker(TdApi.MessageSender participantId, boolean isSpeaking)`
Describes a recently speaking participant in a group call.
``
`JoinGroupCall(int groupCallId, TdApi.MessageSender participantId, int audioSourceId, String payload, boolean isMuted, boolean isMyVideoEnabled, String inviteHash)`
Joins an active group call.
``
`Message(long id, TdApi.MessageSender sender, long chatId, TdApi.MessageSendingState sendingState, TdApi.MessageSchedulingState schedulingState, boolean isOutgoing, boolean isPinned, boolean canBeEdited, boolean canBeForwarded, boolean canBeDeletedOnlyForSelf, boolean canBeDeletedForAllUsers, boolean canGetStatistics, boolean canGetMessageThread, boolean canGetViewers, boolean canGetMediaTimestampLinks, boolean hasTimestampedMedia, boolean isChannelPost, boolean containsUnreadMention, int date, int editDate, TdApi.MessageForwardInfo forwardInfo, TdApi.MessageInteractionInfo interactionInfo, long replyInChatId, long replyToMessageId, long messageThreadId, int ttl, double ttlExpiresIn, long viaBotUserId, String authorSignature, long mediaAlbumId, String restrictionReason, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup)`
Describes a message.
``
`MessageProximityAlertTriggered(TdApi.MessageSender traveler, TdApi.MessageSender watcher, int distance)`
A user in the chat came within proximity alert range.
``
`MessageReplyInfo(int replyCount, TdApi.MessageSender[] recentRepliers, long lastReadInboxMessageId, long lastReadOutboxMessageId, long lastMessageId)`
Contains information about replies to a message.
``
`MessageSenders(int totalCount, TdApi.MessageSender[] senders)`
Represents a list of message senders.
``
`NotificationTypeNewPushMessage(long messageId, TdApi.MessageSender sender, String senderName, boolean isOutgoing, TdApi.PushMessageContent content)`
New message was received through a push notification.
``
`SearchChatMessages(long chatId, String query, TdApi.MessageSender sender, long fromMessageId, int offset, int limit, TdApi.SearchMessagesFilter filter, long messageThreadId)`
Searches for messages with given words in the chat.
``
`SetChatMemberStatus(long chatId, TdApi.MessageSender memberId, TdApi.ChatMemberStatus status)`
Changes the status of a chat member, needs appropriate privileges.
``
`SetGroupCallParticipantVolumeLevel(int groupCallId, TdApi.MessageSender participantId, int volumeLevel)`
Changes volume level of a participant of an active group call.
``
`SetVideoChatDefaultParticipant(long chatId, TdApi.MessageSender defaultParticipantId)`
Changes default participant identifier, which can be used to join video chats in a chat.
``
`ToggleGroupCallParticipantIsHandRaised(int groupCallId, TdApi.MessageSender participantId, boolean isHandRaised)`
Toggles whether a group call participant hand is rased.
``
`ToggleGroupCallParticipantIsMuted(int groupCallId, TdApi.MessageSender participantId, boolean isMuted)`
Toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.
``
`ToggleMessageSenderIsBlocked(TdApi.MessageSender sender, boolean isBlocked)`
Changes the block state of a message sender.
``
`VideoChat(int groupCallId, boolean hasParticipants, TdApi.MessageSender defaultParticipantId)`
Describes a video chat.