internal void Set(OnFriendsUpdateInfoInternal?other) { if (other != null) { ClientData = other.Value.ClientData; LocalUserId = other.Value.LocalUserId; TargetUserId = other.Value.TargetUserId; PreviousStatus = other.Value.PreviousStatus; CurrentStatus = other.Value.CurrentStatus; } }
public Friends(Uporabnik sender, Uporabnik receiver, FriendsStatus status) { this.sender = sender.Username; //Kdo je poslau this.receiver = receiver.Username; this.status = status; }