public void ForwardMessage(TLMessageBase message) { if (message == null) { return; } DialogDetailsViewModel.ForwardMessagesCommon(new List <TLMessageBase> { message }, StateService, NavigationService); }
public void Forward() { if (CurrentItem == null) { return; } DialogDetailsViewModel.ForwardMessagesCommon(new List <TLMessageBase> { CurrentItem }, StateService, IoC.Get <INavigationService>()); }
public void ForwardMessages() { if (Items == null) { return; } var messages = new List <TLMessageBase>(); foreach (var item in Items.Where(x => x.IsSelected)) { messages.Add(item); } if (messages.Count == 0) { return; } IsSelectionEnabled = false; DialogDetailsViewModel.ForwardMessagesCommon(messages, StateService, NavigationService); }