public async Task <bool> SendTypingAsync(IInputPeer peer) { var req = new RequestSetTyping { Action = new TSendMessageTypingAction(), Peer = peer }; return(await SenderService.SendRequestAsync(req).ConfigureAwait(false)); }
/// <inheritdoc /> public async Task <bool> SendTypingAsync(IInputPeer peer, CancellationToken cancellationToken = default(CancellationToken)) { var req = new RequestSetTyping { Action = new TSendMessageTypingAction(), Peer = peer }; return(await RequestSender.SendRequestAsync(req, cancellationToken).ConfigureAwait(false)); }