Uses of Class
org.drinkless.tdlib.TdApi.MessageSender
Packages that use TdApi.MessageSender
-
Uses of TdApi.MessageSender in org.drinkless.tdlib
Subclasses of TdApi.MessageSender in org.drinkless.tdlibModifier and TypeClassDescriptionstatic class
The message was sent on behalf of a chat.static class
The message was sent by a known user.Fields in org.drinkless.tdlib declared as TdApi.MessageSenderModifier and TypeFieldDescriptionTdApi.StoryInteraction.actorId
Identifier of the user or chat that made the interaction.TdApi.UpdateMessageReaction.actorId
Identifier of the user or chat that changed reactions.TdApi.ForumTopicInfo.creatorId
Identifier of the creator of the topic.TdApi.MessagePremiumGiftCode.creatorId
Identifier of a chat or a user that created the gift code; may be null if unknown.TdApi.PremiumGiftCodeInfo.creatorId
Identifier of a chat or a user that created the gift code; may be null if unknown.TdApi.SetVideoChatDefaultParticipant.defaultParticipantId
Default group call participant identifier to join the video chats.TdApi.VideoChat.defaultParticipantId
Default group call participant identifier to join the video chat; may be null.TdApi.BanChatMember.memberId
Member identifier.TdApi.ChatEvent.memberId
Identifier of the user or chat who performed the action.TdApi.ChatEventMemberRestricted.memberId
Affected chat member identifier.TdApi.ChatMember.memberId
Identifier of the chat member.TdApi.GetChatMember.memberId
Member identifier.TdApi.SetChatMemberStatus.memberId
Member identifier.TdApi.Chat.messageSenderId
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.TdApi.SetChatMessageSender.messageSenderId
New message sender for the chat.TdApi.UpdateChatMessageSender.messageSenderId
New value of messageSenderId; may be null if the user can't change message sender.TdApi.TransferGift.newOwnerId
Identifier of the user or the channel chat that will receive the gift.TdApi.MessageGroupCall.otherParticipantIds
Identifiers of some other call participants.TdApi.GetReceivedGifts.ownerId
Identifier of the gift receiver.TdApi.GetStarAdAccountUrl.ownerId
Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.TdApi.GetStarRevenueStatistics.ownerId
Identifier of the owner of the Telegram Stars; can be identifier of the current user, an owned bot, or a supergroup or a channel chat with supergroupFullInfo.canGetStarRevenueStatistics == true.TdApi.GetStarTransactions.ownerId
Identifier of the owner of the Telegram Stars; can be the identifier of the current user, identifier of an owned bot, or identifier of a supergroup or a channel chat with supergroupFullInfo.canGetStarRevenueStatistics == true.TdApi.GetStarWithdrawalUrl.ownerId
Identifier of the owner of the Telegram Stars; can be identifier of the current user, an owned bot, or an owned supergroup or channel chat.TdApi.MessagePaymentRefunded.ownerId
Identifier of the previous owner of the Telegram Stars that refunds them.TdApi.SendGift.ownerId
Identifier of the user or the channel chat that will receive the gift.TdApi.SendResoldGift.ownerId
Identifier of the user or the channel chat that will receive the gift.TdApi.SetPinnedGifts.ownerId
Identifier of the user or the channel chat that received the gifts.TdApi.StarTransactionTypeGiftPurchase.ownerId
Identifier of the user or the channel that received the gift.TdApi.StarTransactionTypeGiftTransfer.ownerId
Identifier of the user or the channel that received the gift.TdApi.UpdateStarRevenueStatus.ownerId
Identifier of the owner of the Telegram Stars.TdApi.UpgradedGift.ownerId
Identifier of the user or the chat that owns the upgraded gift; may be null if none or unknown.TdApi.ChatEventVideoChatParticipantIsMutedToggled.participantId
Identifier of the affected group call participant.TdApi.ChatEventVideoChatParticipantVolumeLevelChanged.participantId
Identifier of the affected group call participant.TdApi.DecryptGroupCallData.participantId
Identifier of the group call participant, which sent the data.TdApi.GroupCallParticipant.participantId
Identifier of the group call participant.TdApi.GroupCallRecentSpeaker.participantId
Group call participant identifier.TdApi.JoinVideoChat.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.SetGroupCallParticipantVolumeLevel.participantId
Participant identifier.TdApi.ToggleGroupCallParticipantIsHandRaised.participantId
Participant identifier.TdApi.ToggleGroupCallParticipantIsMuted.participantId
Participant identifier.TdApi.GroupCallParticipants.participantIds
Identifiers of the participants.TdApi.Story.posterId
Identifier of the user or chat that posted the story; may be null if the story is posted on behalf of the posterChatId.TdApi.UpgradedGiftOriginalDetails.receiverId
Identifier of the user or the chat that received the gift.TdApi.MessageReplyInfo.recentReplierIds
Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup.TdApi.MessageReaction.recentSenderIds
Identifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.TdApi.Poll.recentVoterIds
Identifiers of recent voters, if the poll is non-anonymous.TdApi.ChatMessageSender.sender
The message sender.TdApi.AddedReaction.senderId
Identifier of the chat member, applied the reaction.TdApi.AddLocalMessage.senderId
Identifier of the sender of the message.TdApi.DeleteChatMessagesBySender.senderId
Identifier of the sender of messages to delete.TdApi.ForwardSource.senderId
Identifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.TdApi.Message.senderId
Identifier of the sender of the message.TdApi.MessageGift.senderId
Sender of the gift.TdApi.MessageRefundedUpgradedGift.senderId
Sender of the gift.TdApi.MessageUpgradedGift.senderId
Sender of the gift; may be null for anonymous gifts.TdApi.NotificationTypeNewPushMessage.senderId
Identifier of the sender of the message.TdApi.PaidReactor.senderId
Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.TdApi.ReceivedGift.senderId
Identifier of a user or a chat that sent the gift; may be null if unknown.TdApi.ReportMessageReactions.senderId
Identifier of the sender, which added the reaction.TdApi.SearchChatMessages.senderId
Identifier of the sender of messages to search for; pass null to search for messages from any sender.TdApi.SetMessageSenderBlockList.senderId
Identifier of a message sender to block/unblock.TdApi.StarTransactionTypePaidMessageReceive.senderId
Identifier of the sender of the message.TdApi.UnreadReaction.senderId
Identifier of the sender, added the reaction.TdApi.UpdateChatAction.senderId
Identifier of a message sender performing the action.TdApi.UpgradedGiftOriginalDetails.senderId
Identifier of the user or the chat that sent the gift; may be null if the gift was private.TdApi.MessageSenders.senders
List of message senders.TdApi.MessageProximityAlertTriggered.travelerId
The identifier of a user or chat that triggered the proximity alert.TdApi.MessageReaction.usedSenderId
Identifier of the message sender used by the current user to add the reaction; may be null if unknown or the reaction isn't chosen.TdApi.RemoveMessageSenderBotVerification.verifiedId
Identifier of the user or the supergroup or channel chat, which verification is removed.TdApi.SetMessageSenderBotVerification.verifiedId
Identifier of the user or the supergroup or channel chat, which will be verified by the bot.TdApi.UpdatePollAnswer.voterId
Identifier of the message sender that changed the answer to the poll.TdApi.MessageProximityAlertTriggered.watcherId
The identifier of a user or chat that subscribed for the proximity alert.Constructors in org.drinkless.tdlib with parameters of type TdApi.MessageSenderModifierConstructorDescriptionAddedReaction
(TdApi.ReactionType type, TdApi.MessageSender senderId, boolean isOutgoing, int date) Represents a reaction applied to a message.AddLocalMessage
(long chatId, TdApi.MessageSender senderId, TdApi.InputMessageReplyTo replyTo, boolean disableNotification, TdApi.InputMessageContent inputMessageContent) Creates a function, which adds a local message to a chat.BanChatMember
(long chatId, TdApi.MessageSender memberId, int bannedUntilDate, boolean revokeMessages) Creates a function, which bans a member in a chat; requires canRestrictMembers administrator right.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.BusinessBotManageBar businessBotManageBar, TdApi.VideoChat videoChat, TdApi.ChatJoinRequestsInfo pendingJoinRequests, long replyMarkupMessageId, TdApi.DraftMessage draftMessage, String clientData) A chat.ChatEvent
(long id, int date, TdApi.MessageSender memberId, TdApi.ChatEventAction action) Represents a chat event.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.ChatMessageSender
(TdApi.MessageSender sender, boolean needsPremium) Represents a message sender, which can be used to send messages in a chat.DecryptGroupCallData
(int groupCallId, TdApi.MessageSender participantId, TdApi.GroupCallDataChannel dataChannel, byte[] data) Creates a function, which decrypts group call data received by tgcalls.DeleteChatMessagesBySender
(long chatId, TdApi.MessageSender senderId) Creates a function, which deletes all messages sent by the specified message sender in a chat.ForumTopicInfo
(long chatId, long messageThreadId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden) Contains basic information about a forum topic.ForwardSource
(long chatId, long messageId, TdApi.MessageSender senderId, String senderName, int date, boolean isOutgoing) Contains information about the last message from which a new message was forwarded last time.GetChatMember
(long chatId, TdApi.MessageSender memberId) Creates a function, which returns information about a single member of a chat.GetReceivedGifts
(String businessConnectionId, TdApi.MessageSender ownerId, boolean excludeUnsaved, boolean excludeSaved, boolean excludeUnlimited, boolean excludeLimited, boolean excludeUpgraded, boolean sortByPrice, String offset, int limit) Creates a function, which returns gifts received by the given user or chat.GetStarAdAccountUrl
(TdApi.MessageSender ownerId) Creates a function, which returns a URL for a Telegram Ad platform account that can be used to set up advertisements for the chat paid in the owned Telegram Stars.GetStarRevenueStatistics
(TdApi.MessageSender ownerId, boolean isDark) Creates a function, which returns detailed Telegram Star revenue statistics.GetStarTransactions
(TdApi.MessageSender ownerId, String subscriptionId, TdApi.StarTransactionDirection direction, String offset, int limit) Creates a function, which returns the list of Telegram Star transactions for the specified owner.GetStarWithdrawalUrl
(TdApi.MessageSender ownerId, long starCount, String password) Creates a function, which returns a URL for Telegram Star withdrawal.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.GroupCallParticipants
(int totalCount, TdApi.MessageSender[] participantIds) Contains identifiers of group call participants.GroupCallRecentSpeaker
(TdApi.MessageSender participantId, boolean isSpeaking) Describes a recently speaking participant in a group call.JoinVideoChat
(int groupCallId, TdApi.MessageSender participantId, TdApi.GroupCallJoinParameters joinParameters, String inviteHash) Creates a function, which joins an active video chat.Message
(long id, TdApi.MessageSender senderId, long chatId, TdApi.MessageSendingState sendingState, TdApi.MessageSchedulingState schedulingState, boolean isOutgoing, boolean isPinned, boolean isFromOffline, boolean canBeSaved, boolean hasTimestampedMedia, boolean isChannelPost, boolean isTopicMessage, boolean containsUnreadMention, int date, int editDate, TdApi.MessageForwardInfo forwardInfo, TdApi.MessageImportInfo importInfo, TdApi.MessageInteractionInfo interactionInfo, TdApi.UnreadReaction[] unreadReactions, TdApi.FactCheck factCheck, TdApi.MessageReplyTo replyTo, long messageThreadId, long savedMessagesTopicId, TdApi.MessageSelfDestructType selfDestructType, double selfDestructIn, double autoDeleteIn, long viaBotUserId, long senderBusinessBotUserId, int senderBoostCount, long paidMessageStarCount, String authorSignature, long mediaAlbumId, long effectId, boolean hasSensitiveContent, String restrictionReason, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup) Describes a message.MessageGift
(TdApi.Gift gift, TdApi.MessageSender senderId, String receivedGiftId, TdApi.FormattedText text, long sellStarCount, long prepaidUpgradeStarCount, boolean isPrivate, boolean isSaved, boolean canBeUpgraded, boolean wasConverted, boolean wasUpgraded, boolean wasRefunded, String upgradedReceivedGiftId) A regular gift was received or sent by the current user, or the current user was notified about a channel gift.MessageGroupCall
(boolean isActive, boolean wasMissed, boolean isVideo, int duration, TdApi.MessageSender[] otherParticipantIds) A message with information about a group call not bound to a chat.MessagePaymentRefunded
(TdApi.MessageSender ownerId, String currency, long totalAmount, byte[] invoicePayload, String telegramPaymentChargeId, String providerPaymentChargeId) A payment has been refunded.MessagePremiumGiftCode
(TdApi.MessageSender creatorId, TdApi.FormattedText text, boolean isFromGiveaway, boolean isUnclaimed, String currency, long amount, String cryptocurrency, long cryptocurrencyAmount, int monthCount, TdApi.Sticker sticker, String code) A Telegram Premium gift code was created for the user.MessageProximityAlertTriggered
(TdApi.MessageSender travelerId, TdApi.MessageSender watcherId, int distance) A user in the chat came within proximity alert range.MessageReaction
(TdApi.ReactionType type, int totalCount, boolean isChosen, TdApi.MessageSender usedSenderId, TdApi.MessageSender[] recentSenderIds) Contains information about a reaction to a message.MessageRefundedUpgradedGift
(TdApi.Gift gift, TdApi.MessageSender senderId, boolean isUpgrade) A gift which purchase, upgrade or transfer were refunded.MessageReplyInfo
(int replyCount, TdApi.MessageSender[] recentReplierIds, 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.MessageUpgradedGift
(TdApi.UpgradedGift gift, TdApi.MessageSender senderId, String receivedGiftId, boolean isUpgrade, boolean isSaved, boolean canBeTransferred, boolean wasTransferred, long lastResaleStarCount, long transferStarCount, int nextTransferDate, int nextResaleDate, int exportDate) An upgraded gift was received or sent by the current user, or the current user was notified about a channel gift.NotificationTypeNewPushMessage
(long messageId, TdApi.MessageSender senderId, String senderName, boolean isOutgoing, TdApi.PushMessageContent content) New message was received through a push notification.PaidReactor
(TdApi.MessageSender senderId, int starCount, boolean isTop, boolean isMe, boolean isAnonymous) Contains information about a user that added paid reactions.Poll
(long id, TdApi.FormattedText question, TdApi.PollOption[] options, int totalVoterCount, TdApi.MessageSender[] recentVoterIds, boolean isAnonymous, TdApi.PollType type, int openPeriod, int closeDate, boolean isClosed) Describes a poll.PremiumGiftCodeInfo
(TdApi.MessageSender creatorId, int creationDate, boolean isFromGiveaway, long giveawayMessageId, int monthCount, long userId, int useDate) Contains information about a Telegram Premium gift code.ReceivedGift
(String receivedGiftId, TdApi.MessageSender senderId, TdApi.FormattedText text, boolean isPrivate, boolean isSaved, boolean isPinned, boolean canBeUpgraded, boolean canBeTransferred, boolean wasRefunded, int date, TdApi.SentGift gift, long sellStarCount, long prepaidUpgradeStarCount, long transferStarCount, int nextTransferDate, int nextResaleDate, int exportDate) Represents a gift received by a user or a chat.RemoveMessageSenderBotVerification
(long botUserId, TdApi.MessageSender verifiedId) Creates a function, which removes the verification status of a user or a chat by an owned bot.ReportMessageReactions
(long chatId, long messageId, TdApi.MessageSender senderId) Creates a function, which reports reactions set on a message to the Telegram moderators.SearchChatMessages
(long chatId, String query, TdApi.MessageSender senderId, long fromMessageId, int offset, int limit, TdApi.SearchMessagesFilter filter, long messageThreadId, long savedMessagesTopicId) Creates a function, which searches for messages with given words in the chat.SendGift
(long giftId, TdApi.MessageSender ownerId, TdApi.FormattedText text, boolean isPrivate, boolean payForUpgrade) Creates a function, which sends a gift to another user or channel chat.SendResoldGift
(String giftName, TdApi.MessageSender ownerId, long starCount) Creates a function, which sends an upgraded gift that is available for resale to another user or channel chat; gifts already owned by the current user must be transferred using transferGift and can't be passed to the method.SetChatMemberStatus
(long chatId, TdApi.MessageSender memberId, TdApi.ChatMemberStatus status) Creates a function, which changes the status of a chat member; requires canInviteUsers member right to add a chat member, canPromoteMembers administrator right to change administrator rights of the member, and canRestrictMembers administrator right to change restrictions of a user.SetChatMessageSender
(long chatId, TdApi.MessageSender messageSenderId) Creates a function, which selects a message sender to send messages in a chat.SetGroupCallParticipantVolumeLevel
(int groupCallId, TdApi.MessageSender participantId, int volumeLevel) Creates a function, which changes volume level of a participant of an active group call.SetMessageSenderBlockList
(TdApi.MessageSender senderId, TdApi.BlockList blockList) Creates a function, which changes the block list of a message sender.SetMessageSenderBotVerification
(long botUserId, TdApi.MessageSender verifiedId, String customDescription) Creates a function, which changes the verification status of a user or a chat by an owned bot.SetPinnedGifts
(TdApi.MessageSender ownerId, String[] receivedGiftIds) Creates a function, which changes the list of pinned gifts on the current user's or the channel's profile page; requires canPostMessages administrator right in the channel chat.SetVideoChatDefaultParticipant
(long chatId, TdApi.MessageSender defaultParticipantId) Creates a function, which changes default participant identifier, on whose behalf a video chat in the chat will be joined.StarTransactionTypeGiftPurchase
(TdApi.MessageSender ownerId, TdApi.Gift gift) The transaction is a purchase of a regular gift; for regular users and bots only.StarTransactionTypeGiftTransfer
(TdApi.MessageSender ownerId, TdApi.UpgradedGift gift) The transaction is a transfer of an upgraded gift; for regular users only.StarTransactionTypePaidMessageReceive
(TdApi.MessageSender senderId, int messageCount, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid message; for regular users and supergroup chats only.Story
(int id, long posterChatId, TdApi.MessageSender posterId, int date, boolean isBeingPosted, boolean isBeingEdited, boolean isEdited, boolean isPostedToChatPage, boolean isVisibleOnlyForSelf, boolean canBeDeleted, boolean canBeEdited, boolean canBeForwarded, boolean canBeReplied, boolean canToggleIsPostedToChatPage, boolean canGetStatistics, boolean canGetInteractions, boolean hasExpiredViewers, TdApi.StoryRepostInfo repostInfo, TdApi.StoryInteractionInfo interactionInfo, TdApi.ReactionType chosenReactionType, TdApi.StoryPrivacySettings privacySettings, TdApi.StoryContent content, TdApi.StoryArea[] areas, TdApi.FormattedText caption) Represents a story.StoryInteraction
(TdApi.MessageSender actorId, int interactionDate, TdApi.BlockList blockList, TdApi.StoryInteractionType type) Represents interaction with a story.ToggleGroupCallParticipantIsHandRaised
(int groupCallId, TdApi.MessageSender participantId, boolean isHandRaised) Creates a function, which toggles whether a group call participant hand is rased; for video chats only.ToggleGroupCallParticipantIsMuted
(int groupCallId, TdApi.MessageSender participantId, boolean isMuted) Creates a function, which toggles whether a participant of an active group call is muted, unmuted, or allowed to unmute themselves.TransferGift
(String businessConnectionId, String receivedGiftId, TdApi.MessageSender newOwnerId, long starCount) Creates a function, which sends an upgraded gift to another user or a channel chat.UnreadReaction
(TdApi.ReactionType type, TdApi.MessageSender senderId, boolean isBig) Contains information about an unread reaction to a message.UpdateChatAction
(long chatId, long messageThreadId, TdApi.MessageSender senderId, TdApi.ChatAction action) A message sender activity in the chat has changed.UpdateChatMessageSender
(long chatId, TdApi.MessageSender messageSenderId) The message sender that is selected to send messages in a chat has changed.UpdateMessageReaction
(long chatId, long messageId, TdApi.MessageSender actorId, int date, TdApi.ReactionType[] oldReactionTypes, TdApi.ReactionType[] newReactionTypes) User changed its reactions on a message with public reactions; for bots only.UpdatePollAnswer
(long pollId, TdApi.MessageSender voterId, int[] optionIds) A user changed the answer to a poll; for bots only.UpdateStarRevenueStatus
(TdApi.MessageSender ownerId, TdApi.StarRevenueStatus status) The Telegram Star revenue earned by a bot or a chat has changed.UpgradedGift
(long id, String title, String name, int number, int totalUpgradedCount, int maxUpgradedCount, TdApi.MessageSender ownerId, String ownerAddress, String ownerName, String giftAddress, TdApi.UpgradedGiftModel model, TdApi.UpgradedGiftSymbol symbol, TdApi.UpgradedGiftBackdrop backdrop, TdApi.UpgradedGiftOriginalDetails originalDetails, long resaleStarCount) Describes an upgraded gift that can be transferred to another owner or transferred to the TON blockchain as an NFT.UpgradedGiftOriginalDetails
(TdApi.MessageSender senderId, TdApi.MessageSender receiverId, TdApi.FormattedText text, int date) Describes the original details about the gift.VideoChat
(int groupCallId, boolean hasParticipants, TdApi.MessageSender defaultParticipantId) Describes a video chat, i.e. a group call bound to a chat.