public void SetAccountTTLAsync(TLAccountDaysTTL ttl, Action <TLBool> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLSetAccountTTL {
                TTL = ttl
            };

            SendInformativeMessage("account.setAccountTTL", obj, callback, faultCallback);
        }
Пример #2
0
        public void SetAccountTTLAsync(TLAccountDaysTTL ttl, Action <bool> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLAccountSetAccountTTL {
                TTL = ttl
            };

            const string caption = "account.setAccountTTL";

            SendInformativeMessage(caption, obj, callback, faultCallback);
        }
Пример #3
0
 public virtual void setTtl(TLAccountDaysTTL ttl)
 {
     this.ttl = ttl;
 }
Пример #4
0
 public override void deserializeBody(InputStream stream, TLContext context)
 {
     this.ttl = StreamingUtils.readTLObject(stream, context);
 }
 public override void DeserializeResponse(BinaryReader br)
 {
     Response = (TLAccountDaysTTL)ObjectUtils.DeserializeObject(br);
 }