public override void Read(BinaryReader reader) { this.random_id = reader.ReadInt64(); this.random_bytes = Serializers.Bytes.read(reader); this.message = Serializers.String.read(reader); this.media = Tl.Parse <DecryptedMessageMedia>(reader); }
public DecryptedMessageConstructor(long random_id, byte[] random_bytes, string message, DecryptedMessageMedia media) { this.random_id = random_id; this.random_bytes = random_bytes; this.message = message; this.media = media; }