/// <summary> /// Initializes a new instance of the <see cref="TLRig" /> class. /// </summary> /// <param name="isDurovMode"> /// In Durov mode Bytes is an alias for String type hence both serializers have the same /// constructor numbers. /// </param> public TLRig(bool isDurovMode) { _serializersBucket = new TLSerializersBucket(isDurovMode); }
/// <summary> /// Initializes a new instance of the <see cref="TLRig" /> class. /// </summary> /// <param name="serializersBucket">Serializers bucket.</param> public TLRig(TLSerializersBucket serializersBucket) { _serializersBucket = serializersBucket; }
/// <summary> /// Initializes a new instance of the <see cref="TLRig" /> class. /// </summary> public TLRig() { _serializersBucket = new TLSerializersBucket(); }