Module tdlight.api

Class TdApi.Object

java.lang.Object
it.tdlight.jni.TdApi.Object
Direct Known Subclasses:
TdApi.AccessHash, TdApi.AccessHashType, TdApi.AccountTtl, TdApi.AddedReaction, TdApi.AddedReactions, TdApi.Address, TdApi.AnimatedChatPhoto, TdApi.AnimatedEmoji, TdApi.Animation, TdApi.Animations, TdApi.ArchiveChatListSettings, TdApi.AttachmentMenuBot, TdApi.AttachmentMenuBotColor, TdApi.Audio, TdApi.AuthenticationCodeInfo, TdApi.AuthenticationCodeType, TdApi.AuthorizationState, TdApi.AutoDownloadSettings, TdApi.AutoDownloadSettingsPresets, TdApi.AutosaveSettings, TdApi.AutosaveSettingsException, TdApi.AutosaveSettingsScope, TdApi.AvailableReaction, TdApi.AvailableReactions, TdApi.Background, TdApi.BackgroundFill, TdApi.Backgrounds, TdApi.BackgroundType, TdApi.BankCardActionOpenUrl, TdApi.BankCardInfo, TdApi.BasicGroup, TdApi.BasicGroupFullInfo, TdApi.BlockList, TdApi.BotCommand, TdApi.BotCommands, TdApi.BotCommandScope, TdApi.BotInfo, TdApi.BotMenuButton, TdApi.Call, TdApi.CallbackQueryAnswer, TdApi.CallbackQueryPayload, TdApi.CallDiscardReason, TdApi.CallId, TdApi.CallProblem, TdApi.CallProtocol, TdApi.CallServer, TdApi.CallServerType, TdApi.CallState, TdApi.CanSendStoryResult, TdApi.CanTransferOwnershipResult, TdApi.Chat, TdApi.ChatAction, TdApi.ChatActionBar, TdApi.ChatActiveStories, TdApi.ChatAdministrator, TdApi.ChatAdministratorRights, TdApi.ChatAdministrators, TdApi.ChatAvailableReactions, TdApi.ChatBackground, TdApi.ChatEvent, TdApi.ChatEventAction, TdApi.ChatEventLogFilters, TdApi.ChatEvents, TdApi.ChatFolder, TdApi.ChatFolderIcon, TdApi.ChatFolderInfo, TdApi.ChatFolderInviteLink, TdApi.ChatFolderInviteLinkInfo, TdApi.ChatFolderInviteLinks, TdApi.ChatInviteLink, TdApi.ChatInviteLinkCount, TdApi.ChatInviteLinkCounts, TdApi.ChatInviteLinkInfo, TdApi.ChatInviteLinkMember, TdApi.ChatInviteLinkMembers, TdApi.ChatInviteLinks, TdApi.ChatJoinRequest, TdApi.ChatJoinRequests, TdApi.ChatJoinRequestsInfo, TdApi.ChatList, TdApi.ChatLists, TdApi.ChatLocation, TdApi.ChatMember, TdApi.ChatMembers, TdApi.ChatMembersFilter, TdApi.ChatMemberStatus, TdApi.ChatMessageSender, TdApi.ChatMessageSenders, TdApi.ChatNearby, TdApi.ChatNotificationSettings, TdApi.ChatPermissions, TdApi.ChatPhoto, TdApi.ChatPhotoInfo, TdApi.ChatPhotos, TdApi.ChatPhotoSticker, TdApi.ChatPhotoStickerType, TdApi.ChatPosition, TdApi.Chats, TdApi.ChatsNearby, TdApi.ChatSource, TdApi.ChatStatistics, TdApi.ChatStatisticsAdministratorActionsInfo, TdApi.ChatStatisticsInviterInfo, TdApi.ChatStatisticsMessageInteractionInfo, TdApi.ChatStatisticsMessageSenderInfo, TdApi.ChatTheme, TdApi.ChatType, TdApi.CheckChatUsernameResult, TdApi.CheckStickerSetNameResult, TdApi.ClosedVectorPath, TdApi.ConnectedWebsite, TdApi.ConnectedWebsites, TdApi.ConnectionState, TdApi.Contact, TdApi.Count, TdApi.Countries, TdApi.CountryInfo, TdApi.CustomRequestResult, TdApi.DatabaseStatistics, TdApi.Date, TdApi.DatedFile, TdApi.DateRange, TdApi.DeepLinkInfo, TdApi.DeviceToken, TdApi.DiceStickers, TdApi.Document, TdApi.DownloadedFileCounts, TdApi.DraftMessage, TdApi.EmailAddressAuthentication, TdApi.EmailAddressAuthenticationCodeInfo, TdApi.EmailAddressResetState, TdApi.EmojiCategories, TdApi.EmojiCategory, TdApi.EmojiCategoryType, TdApi.EmojiReaction, TdApi.Emojis, TdApi.EmojiStatus, TdApi.EmojiStatuses, TdApi.EncryptedCredentials, TdApi.EncryptedPassportElement, TdApi.Error, TdApi.File, TdApi.FileDownload, TdApi.FileDownloadedPrefixSize, TdApi.FilePart, TdApi.FileType, TdApi.FirebaseAuthenticationSettings, TdApi.FormattedText, TdApi.ForumTopic, TdApi.ForumTopicIcon, TdApi.ForumTopicInfo, TdApi.ForumTopics, TdApi.FoundChatMessages, TdApi.FoundFileDownloads, TdApi.FoundMessages, TdApi.FoundWebApp, TdApi.Function, TdApi.Game, TdApi.GameHighScore, TdApi.GameHighScores, TdApi.GroupCall, TdApi.GroupCallId, TdApi.GroupCallParticipant, TdApi.GroupCallParticipantVideoInfo, TdApi.GroupCallRecentSpeaker, TdApi.GroupCallStream, TdApi.GroupCallStreams, TdApi.GroupCallVideoQuality, TdApi.GroupCallVideoSourceGroup, TdApi.Hashtags, TdApi.HttpUrl, TdApi.IdentityDocument, TdApi.ImportedContacts, TdApi.InlineKeyboardButton, TdApi.InlineKeyboardButtonType, TdApi.InlineQueryResult, TdApi.InlineQueryResults, TdApi.InlineQueryResultsButton, TdApi.InlineQueryResultsButtonType, TdApi.InputBackground, TdApi.InputChatPhoto, TdApi.InputCredentials, TdApi.InputFile, TdApi.InputIdentityDocument, TdApi.InputInlineQueryResult, TdApi.InputInvoice, TdApi.InputMessageContent, TdApi.InputPassportElement, TdApi.InputPassportElementError, TdApi.InputPassportElementErrorSource, TdApi.InputPersonalDocument, TdApi.InputSticker, TdApi.InputStoryArea, TdApi.InputStoryAreas, TdApi.InputStoryAreaType, TdApi.InputStoryContent, TdApi.InputThumbnail, TdApi.InternalLinkType, TdApi.Invoice, TdApi.JsonObjectMember, TdApi.JsonValue, TdApi.KeyboardButton, TdApi.KeyboardButtonType, TdApi.LabeledPricePart, TdApi.LanguagePackInfo, TdApi.LanguagePackString, TdApi.LanguagePackStrings, TdApi.LanguagePackStringValue, TdApi.LocalFile, TdApi.LocalizationTargetInfo, TdApi.Location, TdApi.LoginUrlInfo, TdApi.LogStream, TdApi.LogTags, TdApi.LogVerbosityLevel, TdApi.MaskPoint, TdApi.MaskPosition, TdApi.MemoryStatistics, TdApi.Message, TdApi.MessageAutoDeleteTime, TdApi.MessageCalendar, TdApi.MessageCalendarDay, TdApi.MessageContent, TdApi.MessageCopyOptions, TdApi.MessageExtendedMedia, TdApi.MessageFileType, TdApi.MessageForwardInfo, TdApi.MessageForwardOrigin, TdApi.MessageInteractionInfo, TdApi.MessageLink, TdApi.MessageLinkInfo, TdApi.MessagePosition, TdApi.MessagePositions, TdApi.MessageReaction, TdApi.MessageReplyInfo, TdApi.MessageReplyTo, TdApi.Messages, TdApi.MessageSchedulingState, TdApi.MessageSender, TdApi.MessageSenders, TdApi.MessageSendingState, TdApi.MessageSendOptions, TdApi.MessageSource, TdApi.MessageSponsor, TdApi.MessageSponsorType, TdApi.MessageStatistics, TdApi.MessageThreadInfo, TdApi.MessageViewer, TdApi.MessageViewers, TdApi.Minithumbnail, TdApi.NetworkStatistics, TdApi.NetworkStatisticsEntry, TdApi.NetworkType, TdApi.Notification, TdApi.NotificationGroup, TdApi.NotificationGroupType, TdApi.NotificationSettingsScope, TdApi.NotificationSound, TdApi.NotificationSounds, TdApi.NotificationType, TdApi.Ok, TdApi.OptionValue, TdApi.OrderInfo, TdApi.PageBlock, TdApi.PageBlockCaption, TdApi.PageBlockHorizontalAlignment, TdApi.PageBlockListItem, TdApi.PageBlockRelatedArticle, TdApi.PageBlockTableCell, TdApi.PageBlockVerticalAlignment, TdApi.PassportAuthorizationForm, TdApi.PassportElement, TdApi.PassportElementError, TdApi.PassportElementErrorSource, TdApi.PassportElements, TdApi.PassportElementsWithErrors, TdApi.PassportElementType, TdApi.PassportRequiredElement, TdApi.PassportSuitableElement, TdApi.PasswordState, TdApi.PaymentForm, TdApi.PaymentOption, TdApi.PaymentProvider, TdApi.PaymentReceipt, TdApi.PaymentResult, TdApi.PersonalDetails, TdApi.PersonalDocument, TdApi.PhoneNumberAuthenticationSettings, TdApi.PhoneNumberInfo, TdApi.Photo, TdApi.PhotoSize, TdApi.Point, TdApi.Poll, TdApi.PollOption, TdApi.PollType, TdApi.PremiumFeature, TdApi.PremiumFeaturePromotionAnimation, TdApi.PremiumFeatures, TdApi.PremiumLimit, TdApi.PremiumLimitType, TdApi.PremiumPaymentOption, TdApi.PremiumSource, TdApi.PremiumState, TdApi.PremiumStatePaymentOption, TdApi.PremiumStoryFeature, TdApi.ProfilePhoto, TdApi.Proxies, TdApi.Proxy, TdApi.ProxyType, TdApi.PublicChatType, TdApi.PushMessageContent, TdApi.PushReceiverId, TdApi.ReactionType, TdApi.RecommendedChatFolder, TdApi.RecommendedChatFolders, TdApi.RecoveryEmailAddress, TdApi.RemoteFile, TdApi.ReplyMarkup, TdApi.ReportReason, TdApi.ResetPasswordResult, TdApi.RichText, TdApi.RtmpUrl, TdApi.SavedCredentials, TdApi.ScopeAutosaveSettings, TdApi.ScopeNotificationSettings, TdApi.SearchMessagesFilter, TdApi.Seconds, TdApi.SecretChat, TdApi.SecretChatState, TdApi.SentWebAppMessage, TdApi.Session, TdApi.Sessions, TdApi.SessionType, TdApi.ShippingOption, TdApi.SpeechRecognitionResult, TdApi.SponsoredMessage, TdApi.SponsoredMessages, TdApi.StatisticalGraph, TdApi.StatisticalValue, TdApi.Sticker, TdApi.StickerFormat, TdApi.StickerFullType, TdApi.Stickers, TdApi.StickerSet, TdApi.StickerSetInfo, TdApi.StickerSets, TdApi.StickerType, TdApi.StorageStatistics, TdApi.StorageStatisticsByChat, TdApi.StorageStatisticsByFileType, TdApi.StorageStatisticsFast, TdApi.StorePaymentPurpose, TdApi.Stories, TdApi.Story, TdApi.StoryArea, TdApi.StoryAreaPosition, TdApi.StoryAreaType, TdApi.StoryContent, TdApi.StoryInfo, TdApi.StoryInteractionInfo, TdApi.StoryList, TdApi.StoryPrivacySettings, TdApi.StoryVideo, TdApi.StoryViewer, TdApi.StoryViewers, TdApi.SuggestedAction, TdApi.Supergroup, TdApi.SupergroupFullInfo, TdApi.SupergroupMembersFilter, TdApi.TargetChat, TdApi.TemporaryPasswordState, TdApi.TermsOfService, TdApi.TestBytes, TdApi.TestInt, TdApi.TestString, TdApi.TestVectorInt, TdApi.TestVectorIntObject, TdApi.TestVectorString, TdApi.TestVectorStringObject, TdApi.Text, TdApi.TextEntities, TdApi.TextEntity, TdApi.TextEntityType, TdApi.TextParseMode, TdApi.ThemeParameters, TdApi.ThemeSettings, TdApi.Thumbnail, TdApi.ThumbnailFormat, TdApi.TMeUrl, TdApi.TMeUrls, TdApi.TMeUrlType, TdApi.TopChatCategory, TdApi.TrendingStickerSets, TdApi.UnreadReaction, TdApi.Update, TdApi.Updates, TdApi.User, TdApi.UserFullInfo, TdApi.UserLink, TdApi.Usernames, TdApi.UserPrivacySetting, TdApi.UserPrivacySettingRule, TdApi.UserPrivacySettingRules, TdApi.Users, TdApi.UserStatus, TdApi.UserSupportInfo, TdApi.UserType, TdApi.ValidatedOrderInfo, TdApi.VectorPathCommand, TdApi.Venue, TdApi.Video, TdApi.VideoChat, TdApi.VideoNote, TdApi.VoiceNote, TdApi.WebApp, TdApi.WebAppInfo, TdApi.WebPage, TdApi.WebPageInstantView
Enclosing class:
TdApi

public abstract static class TdApi.Object extends Object
This class is a base class for all TDLib interface classes.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.
    • getConstructor

      public abstract int getConstructor()
      Returns an identifier uniquely determining type of the object.
      Returns:
      a unique identifier of the object type.
    • serialize

      public byte[] serialize() throws IOException
      Serialize the object.
      Returns:
      the current object serialized into a byte[].
      Throws:
      IOException - the serialization failed
    • serialize

      public abstract void serialize(DataOutput out) throws IOException
      Serialize the object.
      Parameters:
      out - the output in which the object is serialized.
      Throws:
      IOException - the serialization failed