Exemple #1
0
 public override void DeserializeBody(BinaryReader br)
 {
     this.Id      = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
     this.Caption = StringUtil.Deserialize(br);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     ChatId = br.ReadInt32();
     UserId = br.ReadInt32();
     Action = (TLAbsSendMessageAction)ObjectUtils.DeserializeObject(br);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     game = (TLAbsGame)ObjectUtils.DeserializeObject(br);
     Type = TLAbsMessageMediaTypes.TLMessageMediaGame;
 }
Exemple #4
0
 public override void DeserializeBody(BinaryReader br)
 {
     Chat = (TLAbsChat)ObjectUtils.DeserializeObject(br);
 }
Exemple #5
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(this.Constructor);
     ObjectUtils.SerializeObject(this.Users, bw);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     Text = (TLAbsRichText)ObjectUtils.DeserializeObject(br);
 }
Exemple #7
0
 public override void DeserializeBody(BinaryReader br)
 {
     id   = (TLAbsInputPhoto)ObjectUtils.DeserializeObject(br);
     Type = TLAbsInputChatPhotoTypes.TLInputChatPhoto;
 }
 public override void DeserializeBody(BinaryReader br)
 {
     Type     = (TLAbsSecureValueType)ObjectUtils.DeserializeObject(br);
     FileHash = BytesUtil.Deserialize(br);
     Text     = StringUtil.Deserialize(br);
 }
Exemple #9
0
 public override void DeserializeBody(BinaryReader br)
 {
     key   = (TLAbsPrivacyKey)ObjectUtils.DeserializeObject(br);
     rules = (TLVector <TLAbsPrivacyRule>)ObjectUtils.DeserializeVector <TLAbsPrivacyRule>(br);
     Type  = TLAbsUpdateTypes.TLUpdatePrivacy;
 }
Exemple #10
0
 public override void DeserializeBody(BinaryReader br)
 {
     msg_id = br.ReadInt64();
     query  = (TLObject)ObjectUtils.DeserializeObject(br);
 }
Exemple #11
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(Constructor);
     bw.Write(msg_id);
     ObjectUtils.SerializeObject(query, bw);
 }
Exemple #12
0
 public override void DeserializeBody(BinaryReader br)
 {
     text = (TLAbsRichText)ObjectUtils.DeserializeObject(br);
     Type = TLAbsPageBlockTypes.TLPageBlockSubtitle;
 }
Exemple #13
0
        public override void DeserializeBody(BinaryReader br)
        {
            photo_id = br.ReadInt64();
            caption = (TLAbsRichText)ObjectUtils.DeserializeObject(br);

        }
Exemple #14
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(this.Constructor);
     ObjectUtils.SerializeObject(this.Id, bw);
     StringUtil.Serialize(this.Caption, bw);
 }
Exemple #15
0
 public override void deserializeResponse(BinaryReader br)
 {
     Response = (TLObject)ObjectUtils.DeserializeObject(br);
 }
Exemple #16
0
 public override void DeserializeBody(BinaryReader br)
 {
     this.GeoPoint = (TLAbsInputGeoPoint)ObjectUtils.DeserializeObject(br);
 }
Exemple #17
0
 public override void DeserializeBody(BinaryReader br)
 {
     photo = (TLAbsPhoto)ObjectUtils.DeserializeObject(br);
     Type  = TLAbsMessageActionTypes.TLMessageActionChatEditPhoto;
 }
Exemple #18
0
 public override void DeserializeBody(BinaryReader br)
 {
     Id          = StringUtil.Deserialize(br);
     ShortName   = StringUtil.Deserialize(br);
     SendMessage = (TLAbsInputBotInlineMessage)ObjectUtils.DeserializeObject(br);
 }
Exemple #19
0
 public override void DeserializeBody(BinaryReader br)
 {
     Peer      = (TLAbsInputPeer)ObjectUtils.DeserializeObject(br);
     MsgId     = br.ReadInt32();
     ChannelId = br.ReadInt32();
 }
 public override void DeserializeBody(BinaryReader br)
 {
     id   = (TLAbsInputDocument)ObjectUtils.DeserializeObject(br);
     Type = TLAbsInputStickeredMediaTypes.TLInputStickeredMediaDocument;
 }
Exemple #21
0
 public override void DeserializeBody(BinaryReader br)
 {
     File     = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
     Duration = br.ReadInt32();
     MimeType = StringUtil.Deserialize(br);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     users = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br);
     Type  = TLAbsPrivacyRuleTypes.TLPrivacyValueAllowUsers;
 }
Exemple #23
0
 public override void DeserializeBody(BinaryReader br)
 {
     this.Users = (TLVector <int>)ObjectUtils.DeserializeVector <int>(br);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     Offset = br.ReadInt32();
     Length = br.ReadInt32();
     UserId = (TLAbsInputUser)ObjectUtils.DeserializeObject(br);
 }
Exemple #25
0
 public override void DeserializeBody(BinaryReader br)
 {
     update = (TLAbsUpdate)ObjectUtils.DeserializeObject(br);
     date   = br.ReadInt32();
 }
 public override void DeserializeBody(BinaryReader br)
 {
     Message  = (TLAbsMessage)ObjectUtils.DeserializeObject(br);
     Pts      = br.ReadInt32();
     PtsCount = br.ReadInt32();
 }
Exemple #27
0
 public override void DeserializeBody(BinaryReader br)
 {
     photo_id    = br.ReadInt64();
     photo_small = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
     photo_big   = (TLAbsFileLocation)ObjectUtils.DeserializeObject(br);
 }
Exemple #28
0
 public override void DeserializeBody(BinaryReader br)
 {
     query = (TLObject)ObjectUtils.DeserializeObject(br);
 }
Exemple #29
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(Constructor);
     ObjectUtils.SerializeObject(game, bw);
 }
 public override void DeserializeBody(BinaryReader br)
 {
     file = (TLAbsInputFile)ObjectUtils.DeserializeObject(br);
     Type = TLAbsInputChatPhotoTypes.TLInputChatUploadedPhoto;
 }