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 classThe message was sent on behalf of a chat.static classThe message was sent by a known user.Fields in org.drinkless.tdlib declared as TdApi.MessageSenderModifier and TypeFieldDescriptionTdApi.StoryInteraction.actorIdIdentifier of the user or chat that made the interaction.TdApi.UpdateMessageReaction.actorIdIdentifier of the user or chat that changed reactions.TdApi.ChecklistTask.completedByIdentifier of the user or chat that completed the task; may be null if the task isn't completed yet.TdApi.ForumTopicInfo.creatorIdIdentifier of the creator of the topic.TdApi.MessagePremiumGiftCode.creatorIdIdentifier of a chat or a user that created the gift code; may be null if unknown.TdApi.PremiumGiftCodeInfo.creatorIdIdentifier of a chat or a user that created the gift code; may be null if unknown.TdApi.SetVideoChatDefaultParticipant.defaultParticipantIdDefault group call participant identifier to join the video chats in the chat.TdApi.VideoChat.defaultParticipantIdDefault group call participant identifier to join the video chat; may be null.TdApi.UpgradedGift.hostIdIdentifier of the user or the chat to which the upgraded gift was assigned from blockchain; may be null if none or unknown.TdApi.BanChatMember.memberIdMember identifier.TdApi.ChatEvent.memberIdIdentifier of the user or chat who performed the action.TdApi.ChatEventMemberRestricted.memberIdAffected chat member identifier.TdApi.ChatMember.memberIdIdentifier of the chat member.TdApi.GetChatMember.memberIdMember identifier.TdApi.SetChatMemberStatus.memberIdMember identifier.TdApi.Chat.messageSenderIdIdentifier 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.GroupCall.messageSenderIdMessage sender chosen to send messages to the group call; for live stories only; may be null if the call isn't a live story.TdApi.SetChatMessageSender.messageSenderIdNew message sender for the chat.TdApi.SetLiveStoryMessageSender.messageSenderIdNew message sender for the group call.TdApi.UpdateChatMessageSender.messageSenderIdNew value of messageSenderId; may be null if the user can't change message sender.TdApi.TransferGift.newOwnerIdIdentifier of the user or the channel chat that will receive the gift.TdApi.MessageGroupCall.otherParticipantIdsIdentifiers of some other call participants.TdApi.AddGiftCollectionGifts.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.BuyGiftUpgrade.ownerIdIdentifier of the user or the channel chat that owns the gift.TdApi.CreateGiftCollection.ownerIdIdentifier of the user or the channel chat that received the gifts.TdApi.DeleteGiftCollection.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.GetGiftCollections.ownerIdIdentifier of the user or the channel chat that received the gifts.TdApi.GetReceivedGifts.ownerIdIdentifier of the gift receiver.TdApi.GetStarAdAccountUrl.ownerIdIdentifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.TdApi.GetStarRevenueStatistics.ownerIdIdentifier 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.ownerIdIdentifier 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.ownerIdIdentifier 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.ownerIdIdentifier of the previous owner of the Telegram Stars that refunds them.TdApi.RemoveGiftCollectionGifts.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.ReorderGiftCollectionGifts.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.ReorderGiftCollections.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.SendGift.ownerIdIdentifier of the user or the channel chat that will receive the gift; limited gifts can't be sent to channel chats.TdApi.SendGiftPurchaseOffer.ownerIdIdentifier of the user or the channel chat that currently owns the gift and will receive the offer.TdApi.SendResoldGift.ownerIdIdentifier of the user or the channel chat that will receive the gift.TdApi.SetGiftCollectionName.ownerIdIdentifier of the user or the channel chat that owns the collection.TdApi.SetPinnedGifts.ownerIdIdentifier of the user or the channel chat that received the gifts.TdApi.StarTransactionTypeGiftAuctionBid.ownerIdIdentifier of the user that will receive the gift.TdApi.StarTransactionTypeGiftOriginalDetailsDrop.ownerIdIdentifier of the user or the channel that owns the gift.TdApi.StarTransactionTypeGiftPurchase.ownerIdIdentifier of the user or the channel that received the gift.TdApi.StarTransactionTypeGiftTransfer.ownerIdIdentifier of the user or the channel that received the gift.TdApi.StarTransactionTypeGiftUpgradePurchase.ownerIdOwner of the upgraded gift.TdApi.UpdateStarRevenueStatus.ownerIdIdentifier of the owner of the Telegram Stars.TdApi.UpgradedGift.ownerIdIdentifier of the user or the chat that owns the upgraded gift; may be null if none or unknown.TdApi.UserAuctionBid.ownerIdIdentifier of the user or the chat that will receive the auctioned item.TdApi.ChatEventVideoChatParticipantIsMutedToggled.participantIdIdentifier of the affected group call participant.TdApi.ChatEventVideoChatParticipantVolumeLevelChanged.participantIdIdentifier of the affected group call participant.TdApi.DecryptGroupCallData.participantIdIdentifier of the group call participant, which sent the data.TdApi.GroupCallParticipant.participantIdIdentifier of the group call participant.TdApi.GroupCallRecentSpeaker.participantIdGroup call participant identifier.TdApi.JoinVideoChat.participantIdIdentifier of a group call participant, which will be used to join the call; pass null to join as self.TdApi.SetGroupCallParticipantVolumeLevel.participantIdParticipant identifier.TdApi.ToggleGroupCallParticipantIsHandRaised.participantIdParticipant identifier.TdApi.ToggleGroupCallParticipantIsMuted.participantIdParticipant identifier.TdApi.GroupCallParticipants.participantIdsIdentifiers of the participants.TdApi.Story.posterIdIdentifier of the user or chat that posted the story; may be null if the story is posted on behalf of the posterChatId.TdApi.GiftAuctionAcquiredGift.receiverIdReceiver of the gift.TdApi.MessageGift.receiverIdReceiver of the gift.TdApi.MessageRefundedUpgradedGift.receiverIdReceiver of the gift.TdApi.MessageUpgradedGift.receiverIdReceiver of the gift.TdApi.UpgradedGiftOriginalDetails.receiverIdIdentifier of the user or the chat that received the gift.TdApi.MessageReplyInfo.recentReplierIdsIdentifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup.TdApi.MessageReaction.recentSenderIdsIdentifiers of at most 3 recent message senders, added the reaction; available in private, basic group and supergroup chats.TdApi.Poll.recentVoterIdsIdentifiers of recent voters, if the poll is non-anonymous.TdApi.ChatMessageSender.senderThe message sender.TdApi.AddedReaction.senderIdIdentifier of the chat member, applied the reaction.TdApi.AddLocalMessage.senderIdIdentifier of the sender of the message.TdApi.DeleteChatMessagesBySender.senderIdIdentifier of the sender of messages to delete.TdApi.DeleteGroupCallMessagesBySender.senderIdIdentifier of the sender of messages to delete.TdApi.DirectMessagesChatTopic.senderIdIdentifier of the user or chat that sends the messages to the topic.TdApi.ForwardSource.senderIdIdentifier of the sender of the message; may be null if unknown or the new message was forwarded not to Saved Messages.TdApi.GroupCallMessage.senderIdIdentifier of the sender of the message.TdApi.Message.senderIdIdentifier of the sender of the message.TdApi.MessageGift.senderIdSender of the gift; may be null for outgoing messages about prepaid upgrade of gifts from unknown users.TdApi.MessageRefundedUpgradedGift.senderIdSender of the gift.TdApi.MessageUpgradedGift.senderIdSender of the gift; may be null for anonymous gifts.TdApi.NotificationTypeNewPushMessage.senderIdIdentifier of the sender of the message.TdApi.PaidReactor.senderIdIdentifier of the user or chat that added the reactions; may be null for anonymous reactors that aren't the current user.TdApi.ReceivedGift.senderIdIdentifier of a user or a chat that sent the gift; may be null if unknown.TdApi.ReportMessageReactions.senderIdIdentifier of the sender, which added the reaction.TdApi.SearchChatMessages.senderIdIdentifier of the sender of messages to search for; pass null to search for messages from any sender.TdApi.SetMessageSenderBlockList.senderIdIdentifier of a message sender to block/unblock.TdApi.StarTransactionTypePaidGroupCallMessageReceive.senderIdIdentifier of the sender of the message.TdApi.StarTransactionTypePaidGroupCallReactionReceive.senderIdIdentifier of the sender of the reaction.TdApi.StarTransactionTypePaidMessageReceive.senderIdIdentifier of the sender of the message.TdApi.UnreadReaction.senderIdIdentifier of the sender, added the reaction.TdApi.UpdateChatAction.senderIdIdentifier of a message sender performing the action.TdApi.UpdateNewGroupCallPaidReaction.senderIdIdentifier of the sender of the reaction.TdApi.UpgradedGiftOriginalDetails.senderIdIdentifier of the user or the chat that sent the gift; may be null if the gift was private.TdApi.MessageSenders.sendersList of message senders.TdApi.MessageProximityAlertTriggered.travelerIdThe identifier of a user or chat that triggered the proximity alert.TdApi.MessageReaction.usedSenderIdIdentifier 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.verifiedIdIdentifier of the user or the supergroup or channel chat, which verification is removed.TdApi.SetMessageSenderBotVerification.verifiedIdIdentifier of the user or the supergroup or channel chat, which will be verified by the bot.TdApi.UpdatePollAnswer.voterIdIdentifier of the message sender that changed the answer to the poll.TdApi.MessageProximityAlertTriggered.watcherIdThe 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.AddGiftCollectionGifts(TdApi.MessageSender ownerId, int collectionId, String[] receivedGiftIds) Creates a function, which adds gifts to the beginning of a previously created collection.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.BuyGiftUpgrade(TdApi.MessageSender ownerId, String prepaidUpgradeHash, long starCount) Creates a function, which pays for upgrade of a regular gift that is owned by another user or channel chat.Chat(long id, TdApi.ChatType type, String title, TdApi.ChatPhotoInfo photo, int accentColorId, long backgroundCustomEmojiId, TdApi.UpgradedGiftColors upgradedGiftColors, 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, TdApi.ChatTheme theme, 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.ChecklistTask(int id, TdApi.FormattedText text, TdApi.MessageSender completedBy, int completionDate) Describes a task in a checklist.CreateGiftCollection(TdApi.MessageSender ownerId, String name, String[] receivedGiftIds) Creates a function, which creates a collection from gifts on the current user's or a channel's profile page; requires canPostMessages administrator right in the channel 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.DeleteGiftCollection(TdApi.MessageSender ownerId, int collectionId) Creates a function, which deletes a gift collection.DeleteGroupCallMessagesBySender(int groupCallId, TdApi.MessageSender senderId, boolean reportSpam) Creates a function, which deletes all messages sent by the specified message sender in a group call; for live story calls only.DirectMessagesChatTopic(long chatId, long id, TdApi.MessageSender senderId, long order, boolean canSendUnpaidMessages, boolean isMarkedAsUnread, long unreadCount, long lastReadInboxMessageId, long lastReadOutboxMessageId, long unreadReactionCount, TdApi.Message lastMessage, TdApi.DraftMessage draftMessage) Contains information about a topic in a channel direct messages chat administered by the current user.ForumTopicInfo(long chatId, int forumTopicId, String name, TdApi.ForumTopicIcon icon, int creationDate, TdApi.MessageSender creatorId, boolean isGeneral, boolean isOutgoing, boolean isClosed, boolean isHidden, boolean isNameImplicit) 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.GetGiftCollections(TdApi.MessageSender ownerId) Creates a function, which returns collections of gifts owned by the given user or chat.GetReceivedGifts(String businessConnectionId, TdApi.MessageSender ownerId, int collectionId, boolean excludeUnsaved, boolean excludeSaved, boolean excludeUnlimited, boolean excludeUpgradable, boolean excludeNonUpgradable, boolean excludeUpgraded, boolean excludeWithoutColors, boolean excludeHosted, 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.TransactionDirection 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.GiftAuctionAcquiredGift(TdApi.MessageSender receiverId, int date, long starCount, int auctionRoundNumber, int auctionRoundPosition, int uniqueGiftNumber, TdApi.FormattedText text, boolean isPrivate) Represents a gift that was acquired by the current user on an auction.GroupCall(int id, String title, String inviteLink, long paidMessageStarCount, int scheduledStartDate, boolean enabledStartNotification, boolean isActive, boolean isVideoChat, boolean isLiveStory, boolean isRtmpStream, boolean isJoined, boolean needRejoin, boolean isOwned, boolean canBeManaged, int participantCount, boolean hasHiddenListeners, boolean loadedAllParticipants, TdApi.MessageSender messageSenderId, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean isMyVideoEnabled, boolean isMyVideoPaused, boolean canEnableVideo, boolean muteNewParticipants, boolean canToggleMuteNewParticipants, boolean canSendMessages, boolean areMessagesAllowed, boolean canToggleAreMessagesAllowed, boolean canDeleteMessages, int recordDuration, boolean isVideoRecorded, int duration) Describes a group call.GroupCallMessage(int messageId, TdApi.MessageSender senderId, int date, TdApi.FormattedText text, long paidMessageStarCount, boolean isFromOwner, boolean canBeDeleted) Represents a message sent in a group call.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 isPaidStarSuggestedPost, boolean isPaidTonSuggestedPost, boolean containsUnreadMention, int date, int editDate, TdApi.MessageForwardInfo forwardInfo, TdApi.MessageImportInfo importInfo, TdApi.MessageInteractionInfo interactionInfo, TdApi.UnreadReaction[] unreadReactions, TdApi.FactCheck factCheck, TdApi.SuggestedPostInfo suggestedPostInfo, TdApi.MessageReplyTo replyTo, TdApi.MessageTopic topicId, TdApi.MessageSelfDestructType selfDestructType, double selfDestructIn, double autoDeleteIn, long viaBotUserId, long senderBusinessBotUserId, int senderBoostCount, long paidMessageStarCount, String authorSignature, long mediaAlbumId, long effectId, TdApi.RestrictionInfo restrictionInfo, String summaryLanguageCode, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup) Describes a message.MessageGift(TdApi.Gift gift, TdApi.MessageSender senderId, TdApi.MessageSender receiverId, String receivedGiftId, TdApi.FormattedText text, int uniqueGiftNumber, long sellStarCount, long prepaidUpgradeStarCount, boolean isUpgradeSeparate, boolean isFromAuction, boolean isPrivate, boolean isSaved, boolean isPrepaidUpgrade, boolean canBeUpgraded, boolean wasConverted, boolean wasUpgraded, boolean wasRefunded, String upgradedReceivedGiftId, String prepaidUpgradeHash) 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, int dayCount, 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, TdApi.MessageSender receiverId, TdApi.UpgradedGiftOrigin origin) 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, TdApi.MessageSender receiverId, TdApi.UpgradedGiftOrigin origin, String receivedGiftId, boolean isSaved, boolean canBeTransferred, boolean wasTransferred, long transferStarCount, long dropOriginalDetailsStarCount, 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, long 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, int dayCount, long userId, int useDate) Contains information about a Telegram Premium gift code.ReceivedGift(String receivedGiftId, TdApi.MessageSender senderId, TdApi.FormattedText text, int uniqueGiftNumber, boolean isPrivate, boolean isSaved, boolean isPinned, boolean canBeUpgraded, boolean canBeTransferred, boolean wasRefunded, int date, TdApi.SentGift gift, int[] collectionIds, long sellStarCount, long prepaidUpgradeStarCount, boolean isUpgradeSeparate, long transferStarCount, long dropOriginalDetailsStarCount, int nextTransferDate, int nextResaleDate, int exportDate, String prepaidUpgradeHash) Represents a gift received by a user or a chat.RemoveGiftCollectionGifts(TdApi.MessageSender ownerId, int collectionId, String[] receivedGiftIds) Creates a function, which removes gifts from a collection.RemoveMessageSenderBotVerification(long botUserId, TdApi.MessageSender verifiedId) Creates a function, which removes the verification status of a user or a chat by an owned bot.ReorderGiftCollectionGifts(TdApi.MessageSender ownerId, int collectionId, String[] receivedGiftIds) Creates a function, which changes order of gifts in a collection.ReorderGiftCollections(TdApi.MessageSender ownerId, int[] collectionIds) Creates a function, which changes order of gift collections.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, TdApi.MessageTopic topicId, String query, TdApi.MessageSender senderId, long fromMessageId, int offset, int limit, TdApi.SearchMessagesFilter filter) 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.SendGiftPurchaseOffer(TdApi.MessageSender ownerId, String giftName, TdApi.GiftResalePrice price, int duration, long paidMessageStarCount) Creates a function, which sends an offer to purchase an upgraded gift.SendResoldGift(String giftName, TdApi.MessageSender ownerId, TdApi.GiftResalePrice price) 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.SetGiftCollectionName(TdApi.MessageSender ownerId, int collectionId, String name) Creates a function, which changes name of a gift collection.SetGroupCallParticipantVolumeLevel(int groupCallId, TdApi.MessageSender participantId, int volumeLevel) Creates a function, which changes volume level of a participant of an active group call; not supported for live stories.SetLiveStoryMessageSender(int groupCallId, TdApi.MessageSender messageSenderId) Creates a function, which selects a message sender to send messages in a live story 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.StarTransactionTypeGiftAuctionBid(TdApi.MessageSender ownerId, TdApi.Gift gift) The transaction is a bid on a gift auction; relevant for regular users only.The transaction is a drop of original details of an upgraded gift; relevant for regular users only.StarTransactionTypeGiftPurchase(TdApi.MessageSender ownerId, TdApi.Gift gift) The transaction is a purchase of a regular gift; relevant for regular users and bots only.StarTransactionTypeGiftTransfer(TdApi.MessageSender ownerId, TdApi.UpgradedGift gift) The transaction is a transfer of an upgraded gift; relevant for regular users only.StarTransactionTypeGiftUpgradePurchase(TdApi.MessageSender ownerId, TdApi.Gift gift) The transaction is a purchase of an upgrade of a gift owned by another user or channel; relevant for regular users only.StarTransactionTypePaidGroupCallMessageReceive(TdApi.MessageSender senderId, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid group call message; relevant for regular users and channel chats only.StarTransactionTypePaidGroupCallReactionReceive(TdApi.MessageSender senderId, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid group call reaction; relevant for regular users and channel chats only.StarTransactionTypePaidMessageReceive(TdApi.MessageSender senderId, int messageCount, int commissionPerMille, TdApi.StarAmount commissionStarAmount) The transaction is a receiving of a paid message; relevant for regular users, supergroup and channel chats only.Story(int id, long posterChatId, TdApi.MessageSender posterId, int date, boolean isBeingPosted, boolean isBeingEdited, boolean isEdited, boolean isPostedToChatPage, boolean isVisibleOnlyForSelf, boolean canBeAddedToAlbum, boolean canBeDeleted, boolean canBeEdited, boolean canBeForwarded, boolean canBeReplied, boolean canSetPrivacySettings, 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, int[] albumIds) 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; not supported for live stories.TransferGift(String businessConnectionId, String receivedGiftId, TdApi.MessageSender newOwnerId, long starCount) Creates a function, which sends an upgraded gift to another user or channel chat.UnreadReaction(TdApi.ReactionType type, TdApi.MessageSender senderId, boolean isBig) Contains information about an unread reaction to a message.UpdateChatAction(long chatId, TdApi.MessageTopic topicId, 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.UpdateNewGroupCallPaidReaction(int groupCallId, TdApi.MessageSender senderId, long starCount) A new paid reaction was received in a live story group call.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 user or a chat has changed.UpgradedGift(long id, long regularGiftId, long publisherChatId, String title, String name, int number, int totalUpgradedCount, int maxUpgradedCount, boolean isPremium, boolean isThemeAvailable, long usedThemeChatId, TdApi.MessageSender hostId, TdApi.MessageSender ownerId, String ownerAddress, String ownerName, String giftAddress, TdApi.UpgradedGiftModel model, TdApi.UpgradedGiftSymbol symbol, TdApi.UpgradedGiftBackdrop backdrop, TdApi.UpgradedGiftOriginalDetails originalDetails, TdApi.UpgradedGiftColors colors, TdApi.GiftResaleParameters resaleParameters, boolean canSendPurchaseOffer, String valueCurrency, long valueAmount, long valueUsdAmount) 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.UserAuctionBid(long starCount, int bidDate, long nextBidStarCount, TdApi.MessageSender ownerId, boolean wasReturned) Describes a bid of the current user in an auction.VideoChat(int groupCallId, boolean hasParticipants, TdApi.MessageSender defaultParticipantId) Describes a video chat, i.e. a group call bound to a chat.