コード例 #1
0
ファイル: Client.cs プロジェクト: tshemake/Telegram.Library
        public async Task <UpdatesDifference> GetUpdatesDifferenceAsync(UpdatesState state)
        {
            await ConnectAsync();

            UpdatesStateConstructor updatesStateConstructor = state as UpdatesStateConstructor;

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