public void ReadMessageContentsAsync(TLInputChannelBase channel, TLVector <TLInt> id, Action <TLBool> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLReadMessageContents { Channel = channel, Id = id }; const string caption = "channels.readMessageContents"; ReadMessageContentsAsyncInternal(obj, result => { callback.SafeInvoke(result); }, () => { }, faultCallback.SafeInvoke); }
private void ReadMessageContentsAsyncInternal(TLReadMessageContents message, Action <TLAffectedMessages> callback, Action fastCallback, Action <TLRPCError> faultCallback) { SendAsyncInternal("messages.readMessageContents", int.MaxValue, message, callback, fastCallback, faultCallback); }