Exemplo n.º 1
0
        public override TLObject FromStream(Stream input)
        {
            Id     = GetObject <TLLong>(input);
            Date   = GetObject <TLInt>(input);
            UserId = GetObject <TLInt>(input);
            Action = GetObject <TLChannelAdminLogEventActionBase>(input);

            return(this);
        }
Exemplo n.º 2
0
        public override TLObject FromBytes(byte[] bytes, ref int position)
        {
            bytes.ThrowExceptionIfIncorrect(ref position, Signature);

            Id     = GetObject <TLLong>(bytes, ref position);
            Date   = GetObject <TLInt>(bytes, ref position);
            UserId = GetObject <TLInt>(bytes, ref position);
            Action = GetObject <TLChannelAdminLogEventActionBase>(bytes, ref position);

            return(this);
        }