-
Constructors in it.tdlight.jni with parameters of type TdApi.MessageSender
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.
|
ChatEventVoiceChatParticipantIsMutedToggled(TdApi.MessageSender participantId,
boolean isMuted) |
A voice chat participant was muted or unmuted.
|
ChatEventVoiceChatParticipantVolumeLevelChanged(TdApi.MessageSender participantId,
int volumeLevel) |
A voice chat participant volume level was changed.
|
ChatMember(TdApi.MessageSender memberId,
int inviterUserId,
int joinedChatDate,
TdApi.ChatMemberStatus status,
TdApi.BotInfo botInfo) |
Information about 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 source,
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,
TdApi.GroupCallPayload payload,
int source,
boolean isMuted,
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 isChannelPost,
boolean containsUnreadMention,
int date,
int editDate,
TdApi.MessageForwardInfo forwardInfo,
TdApi.MessageInteractionInfo interactionInfo,
long replyInChatId,
long replyToMessageId,
long messageThreadId,
int ttl,
double ttlExpiresIn,
int 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.
|
SetVoiceChatDefaultParticipant(long chatId,
TdApi.MessageSender defaultParticipantId) |
Changes default participant identifier,
which can be used to join voice 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 themself.
|
ToggleMessageSenderIsBlocked(TdApi.MessageSender sender,
boolean isBlocked) |
Changes the block state of a message
sender.
|
VoiceChat(int groupCallId,
boolean hasParticipants,
TdApi.MessageSender defaultParticipantId) |
Describes a voice chat.
|