public void ImportAuthorizationByTransportAsync(ITransport transport, TLInt id, TLString bytes, Action <TLAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLImportAuthorization {
                Id = id, Bytes = bytes
            };

            SendInformativeMessageByTransport(transport, "auth.importAuthorization", obj, callback, faultCallback);
        }
Exemplo n.º 2
0
        public void ImportAuthorizationAsync(TLInt id, TLString bytes, Action <TLAuthorization> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLImportAuthorization {
                Id = id, Bytes = bytes
            };

            SendInformativeMessage("auth.importAuthorization id=" + id, obj, callback, faultCallback);
        }