public void GetDifferenceAsync(TLInt pts, TLInt date, TLInt qts, Action <TLDifferenceBase> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLGetDifference {
                Flags = new TLInt(0), Pts = pts, Date = date, Qts = qts
            };

            SendInformativeMessage("updates.getDifference", obj, callback, faultCallback);
        }
        public void GetDifferenceAsync(TLInt fromVersion, Action <TLLangPackDifference> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLGetDifference {
                FromVersion = fromVersion
            };

            SendInformativeMessage("langpack.getDifference", obj, callback, faultCallback);
        }
Example #3
0
        public void GetDifferenceWithoutUpdatesAsync(TLInt pts, TLInt date, TLInt qts, Action <TLDifferenceBase> callback, Action <TLRPCError> faultCallback = null)
        {
            var obj = new TLGetDifference {
                Date = date, Pts = pts, Qts = qts
            };

            SendInformativeMessage("updates.getDifference", new TLInvokeWithoutUpdates {
                Object = obj
            }, callback, faultCallback);
        }