public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChatAddUser41; if (action != null) { Users = action.Users; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChatDeleteUser; if (action != null) { UserId = action.UserId; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChatEditTitle; if (action != null) { Title = action.Title; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChannelJoined; if (action != null) { InviterId = action.InviterId; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionToggleComments; if (action != null) { Enabled = action.Enabled; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChatCreate; if (action != null) { Title = action.Title; Users = action.Users; } }
public override void Update(TLMessageActionBase action) { var actionGameScore = action as TLMessageActionGameScore; if (actionGameScore != null) { GameId = actionGameScore.GameId; Score = actionGameScore.Score; } }
public override void Update(TLMessageActionBase action) { var actionPaymentSent = action as TLMessageActionPaymentSent; if (actionPaymentSent != null) { Currency = actionPaymentSent.Currency; TotalAmount = actionPaymentSent.TotalAmount; } }
public override void Update(TLMessageActionBase action) { var actionPhoneCall = action as TLMessageActionPhoneCall; if (actionPhoneCall != null) { CallId = actionPhoneCall.CallId; Reason = actionPhoneCall.Reason; Duration = actionPhoneCall.Duration; } }
public override void Update(TLMessageActionBase action) { var actionPaymentSentMe = action as TLMessageActionPaymentSentMe; if (actionPaymentSentMe != null) { Currency = actionPaymentSentMe.Currency; TotalAmount = actionPaymentSentMe.TotalAmount; Payload = actionPaymentSentMe.Payload; Info = actionPaymentSentMe.Info; ShippingOptionId = actionPaymentSentMe.ShippingOptionId; Charge = actionPaymentSentMe.Charge; } }
public override void Update(TLMessageActionBase newAction) { var action = newAction as TLMessageActionChatEditPhoto; if (action != null) { if (Photo != null) { Photo.Update(action.Photo); } else { Photo = action.Photo; } } }
public override void Update(TLMessageActionBase newAction) { }
public abstract void Update(TLMessageActionBase newAction);