public override void DeserializeBody(BinaryReader br) { Users = ObjectUtils.DeserializeVector <int>(br); }
public override void DeserializeBody(BinaryReader br) { PublicKeys = ObjectUtils.DeserializeVector <TLCdnPublicKey>(br); }
public override void DeserializeBody(BinaryReader br) { texts = (TLVector <TLAbsRichText>)ObjectUtils.DeserializeVector <TLAbsRichText>(br); }
public override void DeserializeBody(BinaryReader br) { title = StringUtil.Deserialize(br); users = (TLVector<int>)ObjectUtils.DeserializeVector<int>(br); Type = TLAbsMessageActionTypes.TLMessageActionChatCreate; }
public override void DeserializeBody(BinaryReader br) { this.Set = (TLStickerSet)ObjectUtils.DeserializeObject(br); this.Covers = (TLVector <TLAbsDocument>)ObjectUtils.DeserializeVector <TLAbsDocument>(br); }
public override void DeserializeBody(BinaryReader br) { messages = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br); pts = br.ReadInt32(); pts_count = br.ReadInt32(); }
public override void DeserializeBody(BinaryReader br) { emoticon = StringUtil.Deserialize(br); documents = (TLVector <long>)ObjectUtils.DeserializeVector <long>(br); }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Type = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br); if ((Flags & 1) != 0) { Data = (TLSecureData)ObjectUtils.DeserializeObject(br); } else { Data = null; } if ((Flags & 2) != 0) { FrontSide = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); } else { FrontSide = null; } if ((Flags & 4) != 0) { ReverseSide = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); } else { ReverseSide = null; } if ((Flags & 8) != 0) { Selfie = (TLAbsSecureFile)ObjectUtils.DeserializeObject(br); } else { Selfie = null; } if ((Flags & 64) != 0) { Translation = (TLVector <TLAbsSecureFile>)ObjectUtils.DeserializeVector <TLAbsSecureFile>(br); } else { Translation = null; } if ((Flags & 16) != 0) { Files = (TLVector <TLAbsSecureFile>)ObjectUtils.DeserializeVector <TLAbsSecureFile>(br); } else { Files = null; } if ((Flags & 32) != 0) { PlainData = (TLAbsSecurePlainData)ObjectUtils.DeserializeObject(br); } else { PlainData = null; } Hash = BytesUtil.Deserialize(br); }
public override void DeserializeBody(BinaryReader br) { users = (TLVector <TLAbsInputUser>)ObjectUtils.DeserializeVector <TLAbsInputUser>(br); }
public override void DeserializeBody(BinaryReader br) { ordered = BoolUtil.Deserialize(br); items = (TLVector <TLAbsRichText>)ObjectUtils.DeserializeVector <TLAbsRichText>(br); }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Id = br.ReadInt64(); Url = StringUtil.Deserialize(br); DisplayUrl = StringUtil.Deserialize(br); Hash = br.ReadInt32(); if ((Flags & 1) != 0) { Type = StringUtil.Deserialize(br); } else { Type = null; } if ((Flags & 2) != 0) { SiteName = StringUtil.Deserialize(br); } else { SiteName = null; } if ((Flags & 4) != 0) { Title = StringUtil.Deserialize(br); } else { Title = null; } if ((Flags & 8) != 0) { Description = StringUtil.Deserialize(br); } else { Description = null; } if ((Flags & 16) != 0) { Photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); } else { Photo = null; } if ((Flags & 32) != 0) { EmbedUrl = StringUtil.Deserialize(br); } else { EmbedUrl = null; } if ((Flags & 32) != 0) { EmbedType = StringUtil.Deserialize(br); } else { EmbedType = null; } if ((Flags & 64) != 0) { EmbedWidth = br.ReadInt32(); } else { EmbedWidth = null; } if ((Flags & 64) != 0) { EmbedHeight = br.ReadInt32(); } else { EmbedHeight = null; } if ((Flags & 128) != 0) { Duration = br.ReadInt32(); } else { Duration = null; } if ((Flags & 256) != 0) { Author = StringUtil.Deserialize(br); } else { Author = null; } if ((Flags & 512) != 0) { Document = (TLAbsDocument)ObjectUtils.DeserializeObject(br); } else { Document = null; } if ((Flags & 1024) != 0) { CachedPage = (TLPage)ObjectUtils.DeserializeObject(br); } else { CachedPage = null; } if ((Flags & 4096) != 0) { Attributes = ObjectUtils.DeserializeVector <TLWebPageAttributeTheme>(br); } else { Attributes = null; } }
public override void DeserializeBody(BinaryReader br) { buttons = (TLVector <TLAbsKeyboardButton>)ObjectUtils.DeserializeVector <TLAbsKeyboardButton>(br); }
public override void DeserializeBody(BinaryReader br) { this.UserId = br.ReadInt32(); this.Description = StringUtil.Deserialize(br); this.Commands = (TLVector <TLBotCommand>)ObjectUtils.DeserializeVector <TLBotCommand>(br); }
public override void DeserializeBody(BinaryReader br) { users = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br); Type = TLAbsPrivacyRuleTypes.TLPrivacyValueAllowUsers; }
public override void DeserializeBody(BinaryReader br) { items = (TLVector <TLAbsPageBlock>)ObjectUtils.DeserializeVector <TLAbsPageBlock>(br); caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); Type = TLAbsPageBlockTypes.TLPageBlockCollage; }
public override void DeserializeBody(BinaryReader br) { emoticon = StringUtil.Deserialize(br); documents = (TLVector <long>)ObjectUtils.DeserializeVector <long>(br); Type = TLAbsStickerPackTypes.TLStickerPack; }
public override void DeserializeBody(BinaryReader br) { msg_ids = (TLVector <long>)ObjectUtils.DeserializeVector <long>(br); Type = TLAbsMsgsStateReqTypes.TLMsgs_state_req; }
public override void DeserializeBody(BinaryReader br) { Value = ObjectUtils.DeserializeVector <TLJsonObjectValue>(br); }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); Out = (Flags & 2) != 0; Mentioned = (Flags & 16) != 0; MediaUnread = (Flags & 32) != 0; Silent = (Flags & 8192) != 0; Post = (Flags & 16384) != 0; Id = br.ReadInt32(); if ((Flags & 256) != 0) { FromId = br.ReadInt32(); } else { FromId = null; } ToId = (TLAbsPeer)ObjectUtils.DeserializeObject(br); if ((Flags & 4) != 0) { FwdFrom = (TLMessageFwdHeader)ObjectUtils.DeserializeObject(br); } else { FwdFrom = null; } if ((Flags & 2048) != 0) { ViaBotId = br.ReadInt32(); } else { ViaBotId = null; } if ((Flags & 8) != 0) { ReplyToMsgId = br.ReadInt32(); } else { ReplyToMsgId = null; } Date = br.ReadInt32(); Message = StringUtil.Deserialize(br); if ((Flags & 512) != 0) { Media = (TLAbsMessageMedia)ObjectUtils.DeserializeObject(br); } else { Media = null; } if ((Flags & 64) != 0) { ReplyMarkup = (TLAbsReplyMarkup)ObjectUtils.DeserializeObject(br); } else { ReplyMarkup = null; } if ((Flags & 128) != 0) { Entities = (TLVector <TLAbsMessageEntity>)ObjectUtils.DeserializeVector <TLAbsMessageEntity>(br); } else { Entities = null; } if ((Flags & 1024) != 0) { Views = br.ReadInt32(); } else { Views = null; } if ((Flags & 32768) != 0) { EditDate = br.ReadInt32(); } else { EditDate = null; } if ((Flags & 65536) != 0) { PostAuthor = StringUtil.Deserialize(br); } else { PostAuthor = null; } }
public override void DeserializeBody(BinaryReader br) { Items = (TLVector <TLAbsPageBlock>)ObjectUtils.DeserializeVector <TLAbsPageBlock>(br); Caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br); }
public override void DeserializeBody(BinaryReader br) { msg_ids = (TLVector <long>)ObjectUtils.DeserializeVector <long>(br); Type = TLAbsMsgsAckTypes.TLMsgs_ack; }
public override void DeserializeBody(BinaryReader br) { this.Blocks = (TLVector <TLAbsPageBlock>)ObjectUtils.DeserializeVector <TLAbsPageBlock>(br); this.Photos = (TLVector <TLAbsPhoto>)ObjectUtils.DeserializeVector <TLAbsPhoto>(br); this.Videos = (TLVector <TLAbsDocument>)ObjectUtils.DeserializeVector <TLAbsDocument>(br); }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); CanViewParticipants = (Flags & 8) != 0; CanSetUsername = (Flags & 64) != 0; CanSetStickers = (Flags & 128) != 0; HiddenPrehistory = (Flags & 1024) != 0; CanViewStats = (Flags & 4096) != 0; CanSetLocation = (Flags & 65536) != 0; HasScheduled = (Flags & 524288) != 0; Id = br.ReadInt32(); About = StringUtil.Deserialize(br); if ((Flags & 1) != 0) { ParticipantsCount = br.ReadInt32(); } else { ParticipantsCount = null; } if ((Flags & 2) != 0) { AdminsCount = br.ReadInt32(); } else { AdminsCount = null; } if ((Flags & 4) != 0) { KickedCount = br.ReadInt32(); } else { KickedCount = null; } if ((Flags & 4) != 0) { BannedCount = br.ReadInt32(); } else { BannedCount = null; } if ((Flags & 8192) != 0) { OnlineCount = br.ReadInt32(); } else { OnlineCount = null; } ReadInboxMaxId = br.ReadInt32(); ReadOutboxMaxId = br.ReadInt32(); UnreadCount = br.ReadInt32(); ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); NotifySettings = (TLPeerNotifySettings)ObjectUtils.DeserializeObject(br); ExportedInvite = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); BotInfo = (TLVector <TLBotInfo>)ObjectUtils.DeserializeVector <TLBotInfo>(br); if ((Flags & 16) != 0) { MigratedFromChatId = br.ReadInt32(); } else { MigratedFromChatId = null; } if ((Flags & 16) != 0) { MigratedFromMaxId = br.ReadInt32(); } else { MigratedFromMaxId = null; } if ((Flags & 32) != 0) { PinnedMsgId = br.ReadInt32(); } else { PinnedMsgId = null; } if ((Flags & 256) != 0) { Stickerset = (TLStickerSet)ObjectUtils.DeserializeObject(br); } else { Stickerset = null; } if ((Flags & 512) != 0) { AvailableMinId = br.ReadInt32(); } else { AvailableMinId = null; } if ((Flags & 2048) != 0) { FolderId = br.ReadInt32(); } else { FolderId = null; } if ((Flags & 16384) != 0) { LinkedChatId = br.ReadInt32(); } else { LinkedChatId = null; } if ((Flags & 32768) != 0) { Location = (TLAbsChannelLocation)ObjectUtils.DeserializeObject(br); } else { Location = null; } if ((Flags & 131072) != 0) { SlowmodeSeconds = br.ReadInt32(); } else { SlowmodeSeconds = null; } if ((Flags & 262144) != 0) { SlowmodeNextSendDate = br.ReadInt32(); } else { SlowmodeNextSendDate = null; } Pts = br.ReadInt32(); }
public override void DeserializeBody(BinaryReader br) { Chats = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br); }
public override void DeserializeBody(BinaryReader br) { Messages = ObjectUtils.DeserializeVector <int>(br); Pts = br.ReadInt32(); PtsCount = br.ReadInt32(); }
public override void DeserializeBody(BinaryReader br) { ChannelId = br.ReadInt32(); Messages = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br); }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); CanViewParticipants = (Flags & 8) != 0; CanSetUsername = (Flags & 64) != 0; Id = br.ReadInt32(); About = StringUtil.Deserialize(br); if ((Flags & 1) != 0) { ParticipantsCount = br.ReadInt32(); } else { ParticipantsCount = null; } if ((Flags & 2) != 0) { AdminsCount = br.ReadInt32(); } else { AdminsCount = null; } if ((Flags & 4) != 0) { KickedCount = br.ReadInt32(); } else { KickedCount = null; } ReadInboxMaxId = br.ReadInt32(); ReadOutboxMaxId = br.ReadInt32(); UnreadCount = br.ReadInt32(); ChatPhoto = (TLAbsPhoto)ObjectUtils.DeserializeObject(br); NotifySettings = (TLAbsPeerNotifySettings)ObjectUtils.DeserializeObject(br); ExportedInvite = (TLAbsExportedChatInvite)ObjectUtils.DeserializeObject(br); BotInfo = (TLVector <TLBotInfo>)ObjectUtils.DeserializeVector <TLBotInfo>(br); if ((Flags & 16) != 0) { MigratedFromChatId = br.ReadInt32(); } else { MigratedFromChatId = null; } if ((Flags & 16) != 0) { MigratedFromMaxId = br.ReadInt32(); } else { MigratedFromMaxId = null; } if ((Flags & 32) != 0) { PinnedMsgId = br.ReadInt32(); } else { PinnedMsgId = null; } }
public override void DeserializeBody(BinaryReader br) { Flags = br.ReadInt32(); ExcludeNewMessages = (Flags & 2) != 0; Ranges = (TLVector <TLMessageRange>)ObjectUtils.DeserializeVector <TLMessageRange>(br); }
public override void DeserializeBody(BinaryReader br) { ChatId = br.ReadInt32(); Participants = (TLVector <TLAbsChatParticipant>)ObjectUtils.DeserializeVector <TLAbsChatParticipant>(br); Version = br.ReadInt32(); }
public override void DeserializeBody(BinaryReader br) { Blocks = (TLVector <TLAbsPageBlock>)ObjectUtils.DeserializeVector <TLAbsPageBlock>(br); }