public void GetNotifySettingsAsync(TLInputNotifyPeerBase peer, Action <TLPeerNotifySettingsBase> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLGetNotifySettings { Peer = peer }; SendInformativeMessage("account.getNotifySettings", obj, callback, faultCallback); }
public void UpdateNotifySettingsAsync(TLInputNotifyPeerBase peer, TLInputPeerNotifySettings settings, Action<bool> callback, Action<TLRPCError> faultCallback = null) { //Execute.ShowDebugMessage(string.Format("account.updateNotifySettings peer=[{0}] settings=[{1}]", peer, settings)); var obj = new TLAccountUpdateNotifySettings { Peer = peer, Settings = settings }; SendInformativeMessage("account.updateNotifySettings", obj, callback, faultCallback); }