Exemplo n.º 1
0
 private void UpdateChannels()
 {
     MTProtoService.GetChannelDialogsAsync(new TLInt(0), new TLInt(100),
                                           results => Execute.BeginOnUIThread(() =>
     {
         AddChannels(results);
     }),
                                           error => Execute.BeginOnUIThread(() =>
     {
         Execute.ShowDebugMessage("channels.getDialogs error " + error);
     }));
 }