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); }
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); }