Beispiel #1
0
        public async Task <UpdatesDifference> GetUpdatesDifferenceAsync(UpdatesState state)
        {
            await ConnectAsync();

            UpdatesStateConstructor updatesStateConstructor = state as UpdatesStateConstructor;

            return(await _client.GetUpdatesDifference(updatesStateConstructor.pts, updatesStateConstructor.date, updatesStateConstructor.qts));
        }