github.com/tada-team/tdproto@v1.51.57/codegen/markdown/examples_text.go (about)

     1  package main
     2  
     3  var eventExampleStr = map[string]string{
     4  	"server.panic": `{
     5  	"event": "server.panic",
     6  	"params": {
     7  		"code": "INVALID_TEAM",
     8  		"debug": null
     9  	}
    10  }`,
    11  	"server.uisettings": `{
    12  	"last-tab": 91238475
    13  }`,
    14  	"server.warning": `{
    15  	"event": "server.warning",
    16  	"params": {
    17  		"message": "unknown event: client.deeeeeaddddbeeeeeef",
    18  		"orig": {
    19  			"confirm_id": "c6280a82ed1c",
    20  			"event": "client.deeeeeaddddbeeeeeef"
    21  		}
    22  	}
    23  }`,
    24  	"server.confirm": `{
    25  	"event": "server.confirm",
    26  	"params": {
    27  		"confirm_id": "b8b2ccd6-35a6-408f-a591-c696a9f9e73e"
    28  	}
    29  }`,
    30  	"server.roster": `{
    31      "event": "server.roster",
    32      "params": {
    33          "badge": 449,
    34          "contact_sections": [
    35              {
    36                  "gentime": 1568764805859444992,
    37                  "name": "Боты",
    38                  "sort_ordering": 99,
    39                  "uid": "3a8b23f2-25b4-4acb-afab-590303bedd50"
    40              }
    41          ],
    42          "contacts": [
    43              {
    44                  "botname": "systembot",
    45                  "can_send_message": true,
    46                  "changeable_fields": [],
    47                  "contact_email": "support@tada.team",
    48                  "contact_phone": "",
    49                  "display_name": "tada.teamBot",
    50                  "icons": {
    51                      "lg": {
    52                          "height": 512,
    53                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot512.png",
    54                          "width": 512
    55                      },
    56                      "sm": {
    57                          "height": 256,
    58                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot256.png",
    59                          "width": 256
    60                      }
    61                  },
    62                  "jid": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
    63                  "last_activity": "2019-09-27T01:01:32.354349Z",
    64                  "role": "Виртуальный ассистент",
    65                  "section": "3a8b23f2-25b4-4acb-afab-590303bedd50",
    66                  "sections": [
    67                      "3a8b23f2-25b4-4acb-afab-590303bedd50"
    68                  ],
    69                  "status": "member"
    70              },
    71              {
    72                  "can_add_to_group": true,
    73                  "can_call": true,
    74                  "can_create_task": true,
    75                  "can_send_message": true,
    76                  "changeable_fields": [],
    77                  "contact_email": "",
    78                  "contact_phone": "+75550000000",
    79                  "display_name": "Контакт №1",
    80                  "icons": {
    81                      "stub": "http://127.0.0.1:8000/u/578e3c/%D0%9A%E2%84%96/256.png"
    82                  },
    83                  "jid": "d-181b9859-ea3f-4e26-85c9-9e7ee7aaaa9a",
    84                  "last_activity": null,
    85                  "role": "",
    86                  "sections": [],
    87                  "status": "admin"
    88              },
    89              {
    90                  "can_add_to_group": true,
    91                  "can_call": true,
    92                  "can_create_task": true,
    93                  "can_send_message": true,
    94                  "changeable_fields": [],
    95                  "contact_email": "",
    96                  "contact_phone": "+75550000009",
    97                  "display_name": "Контакт №10",
    98                  "icons": {
    99                      "stub": "http://127.0.0.1:8000/u/579dda/10/256.png"
   100                  },
   101                  "jid": "d-a87e168a-78df-49aa-9abb-9b5409eb7de5",
   102                  "last_activity": null,
   103                  "role": "",
   104                  "sections": [],
   105                  "status": "member"
   106              },
   107              {
   108                  "can_add_to_group": true,
   109                  "can_call": true,
   110                  "can_create_task": true,
   111                  "can_send_message": true,
   112                  "changeable_fields": [],
   113                  "contact_email": "",
   114                  "contact_phone": "+75550000010",
   115                  "display_name": "Контакт №11",
   116                  "icons": {
   117                      "stub": "http://127.0.0.1:8000/u/8e88eb/11/256.png"
   118                  },
   119                  "jid": "d-8bb2ed5e-5cf4-457c-9a7b-070d7e4116a9",
   120                  "last_activity": null,
   121                  "role": "",
   122                  "sections": [],
   123                  "status": "member"
   124              },
   125              {
   126                  "can_add_to_group": true,
   127                  "can_call": true,
   128                  "can_create_task": true,
   129                  "can_send_message": true,
   130                  "changeable_fields": [],
   131                  "contact_email": "",
   132                  "contact_phone": "+75550000011",
   133                  "display_name": "Контакт №12",
   134                  "icons": {
   135                      "stub": "http://127.0.0.1:8000/u/e36659/12/256.png"
   136                  },
   137                  "jid": "d-5049173a-93dc-4904-8796-6807b6f07bf1",
   138                  "last_activity": null,
   139                  "role": "",
   140                  "sections": [],
   141                  "status": "member"
   142              },
   143              {
   144                  "can_add_to_group": true,
   145                  "can_call": true,
   146                  "can_create_task": true,
   147                  "can_send_message": true,
   148                  "changeable_fields": [],
   149                  "contact_email": "",
   150                  "contact_phone": "+75550000012",
   151                  "display_name": "Контакт №13",
   152                  "icons": {
   153                      "stub": "http://127.0.0.1:8000/u/f0769a/13/256.png"
   154                  },
   155                  "jid": "d-26879ae0-a4b9-4523-8875-4e26c4787d27",
   156                  "last_activity": null,
   157                  "role": "",
   158                  "sections": [],
   159                  "status": "member"
   160              },
   161              {
   162                  "can_add_to_group": true,
   163                  "can_call": true,
   164                  "can_create_task": true,
   165                  "can_send_message": true,
   166                  "changeable_fields": [],
   167                  "contact_email": "",
   168                  "contact_phone": "+75550000013",
   169                  "display_name": "Контакт №14",
   170                  "icons": {
   171                      "stub": "http://127.0.0.1:8000/u/f08c50/14/256.png"
   172                  },
   173                  "jid": "d-84e3cb48-598b-4ffd-918e-0662ebeb3469",
   174                  "last_activity": null,
   175                  "role": "",
   176                  "sections": [],
   177                  "status": "member"
   178              },
   179              {
   180                  "can_add_to_group": true,
   181                  "can_call": true,
   182                  "can_create_task": true,
   183                  "can_send_message": true,
   184                  "changeable_fields": [],
   185                  "contact_email": "",
   186                  "contact_phone": "+75550000014",
   187                  "display_name": "Контакт №15",
   188                  "icons": {
   189                      "stub": "http://127.0.0.1:8000/u/578e3c/15/256.png"
   190                  },
   191                  "jid": "d-6496b27c-3251-4683-896a-a7f2191b7a33",
   192                  "last_activity": null,
   193                  "role": "",
   194                  "sections": [],
   195                  "status": "member"
   196              },
   197              {
   198                  "can_add_to_group": true,
   199                  "can_call": true,
   200                  "can_create_task": true,
   201                  "can_send_message": true,
   202                  "changeable_fields": [],
   203                  "contact_email": "",
   204                  "contact_phone": "+75550000015",
   205                  "display_name": "Контакт №16",
   206                  "icons": {
   207                      "stub": "http://127.0.0.1:8000/u/63bed3/16/256.png"
   208                  },
   209                  "jid": "d-c540dd6e-4da3-4b65-8e89-bd35554978c2",
   210                  "last_activity": null,
   211                  "role": "",
   212                  "sections": [],
   213                  "status": "member"
   214              },
   215              {
   216                  "can_add_to_group": true,
   217                  "can_call": true,
   218                  "can_create_task": true,
   219                  "can_send_message": true,
   220                  "changeable_fields": [],
   221                  "contact_email": "",
   222                  "contact_phone": "+75550000016",
   223                  "display_name": "Контакт №17",
   224                  "icons": {
   225                      "stub": "http://127.0.0.1:8000/u/579dda/17/256.png"
   226                  },
   227                  "jid": "d-951775af-15fd-4e5f-bb13-099c9afd6586",
   228                  "last_activity": null,
   229                  "role": "",
   230                  "sections": [],
   231                  "status": "member"
   232              },
   233              {
   234                  "can_add_to_group": true,
   235                  "can_call": true,
   236                  "can_create_task": true,
   237                  "can_send_message": true,
   238                  "changeable_fields": [],
   239                  "contact_email": "",
   240                  "contact_phone": "+75550000017",
   241                  "display_name": "Контакт №18",
   242                  "icons": {
   243                      "stub": "http://127.0.0.1:8000/u/8e88eb/18/256.png"
   244                  },
   245                  "jid": "d-ce8117ae-867d-400d-b7c8-e7df6a2ecee7",
   246                  "last_activity": null,
   247                  "role": "",
   248                  "sections": [],
   249                  "status": "member"
   250              },
   251              {
   252                  "can_add_to_group": true,
   253                  "can_call": true,
   254                  "can_create_task": true,
   255                  "can_send_message": true,
   256                  "changeable_fields": [],
   257                  "contact_email": "",
   258                  "contact_phone": "+75550000018",
   259                  "display_name": "Контакт №19",
   260                  "icons": {
   261                      "stub": "http://127.0.0.1:8000/u/e36659/19/256.png"
   262                  },
   263                  "jid": "d-1d60b554-5da7-4f17-a078-eb77168081a8",
   264                  "last_activity": null,
   265                  "role": "",
   266                  "sections": [],
   267                  "status": "member"
   268              },
   269              {
   270                  "alt_send": false,
   271                  "can_add_to_group": true,
   272                  "can_create_task": true,
   273                  "can_delete": true,
   274                  "changeable_fields": [
   275                      "alt_send",
   276                      "contact_email",
   277                      "contact_mshort_view",
   278                      "contact_phone",
   279                      "contact_short_view",
   280                      "contact_show_archived",
   281                      "debug_show_activity",
   282                      "default_lang",
   283                      "family_name",
   284                      "given_name",
   285                      "group_mshort_view",
   286                      "group_notifications_enabled",
   287                      "group_short_view",
   288                      "icons",
   289                      "phone",
   290                      "role",
   291                      "task_mshort_view",
   292                      "task_notifications_enabled",
   293                      "task_short_view",
   294                      "unread_first"
   295                  ],
   296                  "contact_email": "",
   297                  "contact_mshort_view": false,
   298                  "contact_phone": "+75550000001",
   299                  "contact_short_view": false,
   300                  "contact_show_archived": false,
   301                  "debug_show_activity": false,
   302                  "default_lang": null,
   303                  "display_name": "Контакт №2",
   304                  "family_name": "№2",
   305                  "given_name": "Контакт",
   306                  "group_mshort_view": false,
   307                  "group_notifications_enabled": true,
   308                  "group_short_view": false,
   309                  "icons": {
   310                      "stub": "http://127.0.0.1:8000/u/63bed3/%D0%9A%E2%84%96/256.png"
   311                  },
   312                  "jid": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
   313                  "last_activity": null,
   314                  "role": "",
   315                  "sections": [],
   316                  "status": "member",
   317                  "task_mshort_view": false,
   318                  "task_notifications_enabled": true,
   319                  "task_short_view": false,
   320                  "unread_first": false
   321              },
   322              {
   323                  "can_add_to_group": true,
   324                  "can_call": true,
   325                  "can_create_task": true,
   326                  "can_send_message": true,
   327                  "changeable_fields": [],
   328                  "contact_email": "",
   329                  "contact_phone": "+75550000019",
   330                  "display_name": "Контакт №20",
   331                  "icons": {
   332                      "stub": "http://127.0.0.1:8000/u/f0769a/20/256.png"
   333                  },
   334                  "jid": "d-13b47a4f-4473-4a8f-82ef-00b00ce5c02f",
   335                  "last_activity": null,
   336                  "role": "",
   337                  "sections": [],
   338                  "status": "member"
   339              },
   340              {
   341                  "can_add_to_group": true,
   342                  "can_call": true,
   343                  "can_create_task": true,
   344                  "can_send_message": true,
   345                  "changeable_fields": [],
   346                  "contact_email": "",
   347                  "contact_phone": "+75550000020",
   348                  "display_name": "Контакт №21",
   349                  "icons": {
   350                      "stub": "http://127.0.0.1:8000/u/f08c50/21/256.png"
   351                  },
   352                  "jid": "d-14ba8969-e3a9-4daf-b6c3-bed4ea931e06",
   353                  "last_activity": null,
   354                  "role": "",
   355                  "sections": [],
   356                  "status": "member"
   357              },
   358              {
   359                  "can_add_to_group": true,
   360                  "can_call": true,
   361                  "can_create_task": true,
   362                  "can_send_message": true,
   363                  "changeable_fields": [],
   364                  "contact_email": "",
   365                  "contact_phone": "+75550000021",
   366                  "display_name": "Контакт №22",
   367                  "icons": {
   368                      "stub": "http://127.0.0.1:8000/u/578e3c/22/256.png"
   369                  },
   370                  "jid": "d-571d1843-96d1-497b-a53c-2cc03d815194",
   371                  "last_activity": null,
   372                  "role": "",
   373                  "sections": [],
   374                  "status": "member"
   375              },
   376              {
   377                  "can_add_to_group": true,
   378                  "can_call": true,
   379                  "can_create_task": true,
   380                  "can_send_message": true,
   381                  "changeable_fields": [],
   382                  "contact_email": "",
   383                  "contact_phone": "+75550000022",
   384                  "display_name": "Контакт №23",
   385                  "icons": {
   386                      "stub": "http://127.0.0.1:8000/u/63bed3/23/256.png"
   387                  },
   388                  "jid": "d-c15b9ad4-b03b-4dc1-aeaa-725e09bedbcf",
   389                  "last_activity": null,
   390                  "role": "",
   391                  "sections": [],
   392                  "status": "member"
   393              },
   394              {
   395                  "can_add_to_group": true,
   396                  "can_call": true,
   397                  "can_create_task": true,
   398                  "can_send_message": true,
   399                  "changeable_fields": [],
   400                  "contact_email": "",
   401                  "contact_phone": "+75550000023",
   402                  "display_name": "Контакт №24",
   403                  "icons": {
   404                      "stub": "http://127.0.0.1:8000/u/579dda/24/256.png"
   405                  },
   406                  "jid": "d-0f902404-96c4-4c5e-8385-d33a46fd5566",
   407                  "last_activity": null,
   408                  "role": "",
   409                  "sections": [],
   410                  "status": "member"
   411              },
   412              {
   413                  "can_add_to_group": true,
   414                  "can_call": true,
   415                  "can_create_task": true,
   416                  "can_send_message": true,
   417                  "changeable_fields": [],
   418                  "contact_email": "",
   419                  "contact_phone": "+75550000024",
   420                  "display_name": "Контакт №25",
   421                  "icons": {
   422                      "stub": "http://127.0.0.1:8000/u/8e88eb/25/256.png"
   423                  },
   424                  "jid": "d-b54d8559-4d94-46e6-b1ff-673a55e5cf5d",
   425                  "last_activity": null,
   426                  "role": "",
   427                  "sections": [],
   428                  "status": "member"
   429              },
   430              {
   431                  "can_add_to_group": true,
   432                  "can_call": true,
   433                  "can_create_task": true,
   434                  "can_send_message": true,
   435                  "changeable_fields": [],
   436                  "contact_email": "",
   437                  "contact_phone": "+75550000025",
   438                  "display_name": "Контакт №26",
   439                  "icons": {
   440                      "stub": "http://127.0.0.1:8000/u/e36659/26/256.png"
   441                  },
   442                  "jid": "d-d62ca7c6-83b5-4853-bfc5-10e8c2e68b13",
   443                  "last_activity": null,
   444                  "role": "",
   445                  "sections": [],
   446                  "status": "member"
   447              },
   448              {
   449                  "can_add_to_group": true,
   450                  "can_call": true,
   451                  "can_create_task": true,
   452                  "can_send_message": true,
   453                  "changeable_fields": [],
   454                  "contact_email": "",
   455                  "contact_phone": "+75550000026",
   456                  "display_name": "Контакт №27",
   457                  "icons": {
   458                      "stub": "http://127.0.0.1:8000/u/f0769a/27/256.png"
   459                  },
   460                  "jid": "d-7589ac63-4c0d-4685-9bf5-63b83cdcc3ab",
   461                  "last_activity": null,
   462                  "role": "",
   463                  "sections": [],
   464                  "status": "member"
   465              },
   466              {
   467                  "can_add_to_group": true,
   468                  "can_call": true,
   469                  "can_create_task": true,
   470                  "can_send_message": true,
   471                  "changeable_fields": [],
   472                  "contact_email": "",
   473                  "contact_phone": "+75550000027",
   474                  "display_name": "Контакт №28",
   475                  "icons": {
   476                      "stub": "http://127.0.0.1:8000/u/f08c50/28/256.png"
   477                  },
   478                  "jid": "d-10e10caf-6127-4649-b2d6-5ad1395d32a5",
   479                  "last_activity": null,
   480                  "role": "",
   481                  "sections": [],
   482                  "status": "member"
   483              },
   484              {
   485                  "can_add_to_group": true,
   486                  "can_call": true,
   487                  "can_create_task": true,
   488                  "can_send_message": true,
   489                  "changeable_fields": [],
   490                  "contact_email": "",
   491                  "contact_phone": "+75550000028",
   492                  "display_name": "Контакт №29",
   493                  "icons": {
   494                      "stub": "http://127.0.0.1:8000/u/578e3c/29/256.png"
   495                  },
   496                  "jid": "d-1b20a9aa-ecf5-49fd-8477-0998d42e1ade",
   497                  "last_activity": null,
   498                  "role": "",
   499                  "sections": [],
   500                  "status": "member"
   501              },
   502              {
   503                  "can_add_to_group": true,
   504                  "can_call": true,
   505                  "can_create_task": true,
   506                  "can_send_message": true,
   507                  "changeable_fields": [],
   508                  "contact_email": "",
   509                  "contact_phone": "+75550000002",
   510                  "display_name": "Контакт №3",
   511                  "icons": {
   512                      "stub": "http://127.0.0.1:8000/u/579dda/%D0%9A%E2%84%96/256.png"
   513                  },
   514                  "jid": "d-ee3d7c07-fe0f-4cbd-bf3a-b8e72f0ff1c6",
   515                  "last_activity": null,
   516                  "role": "",
   517                  "sections": [],
   518                  "status": "member"
   519              },
   520              {
   521                  "can_add_to_group": true,
   522                  "can_call": true,
   523                  "can_create_task": true,
   524                  "can_send_message": true,
   525                  "changeable_fields": [],
   526                  "contact_email": "",
   527                  "contact_phone": "+75550000029",
   528                  "display_name": "Контакт №30",
   529                  "icons": {
   530                      "stub": "http://127.0.0.1:8000/u/63bed3/30/256.png"
   531                  },
   532                  "jid": "d-bc7550f7-ae4b-41de-82d3-d4b5b5b7f600",
   533                  "last_activity": null,
   534                  "role": "",
   535                  "sections": [],
   536                  "status": "member"
   537              },
   538              {
   539                  "can_add_to_group": true,
   540                  "can_call": true,
   541                  "can_create_task": true,
   542                  "can_send_message": true,
   543                  "changeable_fields": [],
   544                  "contact_email": "",
   545                  "contact_phone": "+75550000030",
   546                  "display_name": "Контакт №31",
   547                  "icons": {
   548                      "stub": "http://127.0.0.1:8000/u/579dda/31/256.png"
   549                  },
   550                  "jid": "d-bfe1fa23-c32b-48ea-8fed-d2b6f583fb77",
   551                  "last_activity": null,
   552                  "role": "",
   553                  "sections": [],
   554                  "status": "member"
   555              },
   556              {
   557                  "can_add_to_group": true,
   558                  "can_call": true,
   559                  "can_create_task": true,
   560                  "can_send_message": true,
   561                  "changeable_fields": [],
   562                  "contact_email": "",
   563                  "contact_phone": "+75550000031",
   564                  "display_name": "Контакт №32",
   565                  "icons": {
   566                      "stub": "http://127.0.0.1:8000/u/8e88eb/32/256.png"
   567                  },
   568                  "jid": "d-a792832a-d9f6-4bbc-b545-f2800e329c8c",
   569                  "last_activity": null,
   570                  "role": "",
   571                  "sections": [],
   572                  "status": "member"
   573              },
   574              {
   575                  "can_add_to_group": true,
   576                  "can_call": true,
   577                  "can_create_task": true,
   578                  "can_send_message": true,
   579                  "changeable_fields": [],
   580                  "contact_email": "",
   581                  "contact_phone": "+75550000003",
   582                  "display_name": "Контакт №4",
   583                  "icons": {
   584                      "stub": "http://127.0.0.1:8000/u/8e88eb/%D0%9A%E2%84%96/256.png"
   585                  },
   586                  "jid": "d-c094f142-1b54-4fae-8128-9b41504b56a9",
   587                  "last_activity": null,
   588                  "role": "",
   589                  "sections": [],
   590                  "status": "member"
   591              },
   592              {
   593                  "can_add_to_group": true,
   594                  "can_call": true,
   595                  "can_create_task": true,
   596                  "can_send_message": true,
   597                  "changeable_fields": [],
   598                  "contact_email": "",
   599                  "contact_phone": "+75550000004",
   600                  "display_name": "Контакт №5",
   601                  "icons": {
   602                      "stub": "http://127.0.0.1:8000/u/e36659/%D0%9A%E2%84%96/256.png"
   603                  },
   604                  "jid": "d-53e898d1-3d7b-4cc4-9ff6-ca034b5709cb",
   605                  "last_activity": null,
   606                  "role": "",
   607                  "sections": [],
   608                  "status": "member"
   609              },
   610              {
   611                  "can_add_to_group": true,
   612                  "can_call": true,
   613                  "can_create_task": true,
   614                  "can_send_message": true,
   615                  "changeable_fields": [],
   616                  "contact_email": "",
   617                  "contact_phone": "+75550000005",
   618                  "display_name": "Контакт №6",
   619                  "icons": {
   620                      "stub": "http://127.0.0.1:8000/u/f0769a/%D0%9A%E2%84%96/256.png"
   621                  },
   622                  "jid": "d-af8d0ae3-ff07-4c49-94d0-7d531f972b0e",
   623                  "last_activity": null,
   624                  "role": "",
   625                  "sections": [],
   626                  "status": "member"
   627              },
   628              {
   629                  "can_add_to_group": true,
   630                  "can_call": true,
   631                  "can_create_task": true,
   632                  "can_send_message": true,
   633                  "changeable_fields": [],
   634                  "contact_email": "",
   635                  "contact_phone": "+75550000006",
   636                  "display_name": "Контакт №7",
   637                  "icons": {
   638                      "stub": "http://127.0.0.1:8000/u/f08c50/%D0%9A%E2%84%96/256.png"
   639                  },
   640                  "jid": "d-f73f2847-4fcb-4f7e-bc11-8d2aaf21cf00",
   641                  "last_activity": null,
   642                  "role": "",
   643                  "sections": [],
   644                  "status": "member"
   645              },
   646              {
   647                  "can_add_to_group": true,
   648                  "can_call": true,
   649                  "can_create_task": true,
   650                  "can_send_message": true,
   651                  "changeable_fields": [],
   652                  "contact_email": "",
   653                  "contact_phone": "+75550000007",
   654                  "display_name": "Контакт №8",
   655                  "icons": {
   656                      "stub": "http://127.0.0.1:8000/u/578e3c/%D0%9A%E2%84%96/256.png"
   657                  },
   658                  "jid": "d-2bde58fa-3b2b-4c10-8041-b0a65e6d74b4",
   659                  "last_activity": null,
   660                  "role": "",
   661                  "sections": [],
   662                  "status": "member"
   663              },
   664              {
   665                  "can_add_to_group": true,
   666                  "can_call": true,
   667                  "can_create_task": true,
   668                  "can_send_message": true,
   669                  "changeable_fields": [],
   670                  "contact_email": "",
   671                  "contact_phone": "+75550000008",
   672                  "display_name": "Контакт №9",
   673                  "icons": {
   674                      "stub": "http://127.0.0.1:8000/u/63bed3/%D0%9A%E2%84%96/256.png"
   675                  },
   676                  "jid": "d-425ef763-2162-4dcf-8e0e-5ce0615518d8",
   677                  "last_activity": null,
   678                  "role": "",
   679                  "sections": [],
   680                  "status": "member"
   681              },
   682              {
   683                  "botname": "notebot",
   684                  "can_send_message": true,
   685                  "changeable_fields": [],
   686                  "contact_email": "",
   687                  "contact_phone": "",
   688                  "display_name": "Мои заметки",
   689                  "icons": {
   690                      "lg": {
   691                          "height": 512,
   692                          "url": "http://127.0.0.1:8000/static/tada-bots/notebot512.png",
   693                          "width": 512
   694                      },
   695                      "sm": {
   696                          "height": 256,
   697                          "url": "http://127.0.0.1:8000/static/tada-bots/notebot256.png",
   698                          "width": 256
   699                      }
   700                  },
   701                  "jid": "d-6d02dd61-8c07-4d11-a1f5-4584569d7b6d",
   702                  "last_activity": "2019-09-27T01:01:32.354092Z",
   703                  "role": "Блокнот",
   704                  "section": "3a8b23f2-25b4-4acb-afab-590303bedd50",
   705                  "sections": [
   706                      "3a8b23f2-25b4-4acb-afab-590303bedd50"
   707                  ],
   708                  "status": "member"
   709              }
   710          ],
   711          "devices": [],
   712          "direct_chats": [
   713              {
   714                  "can_call": true,
   715                  "can_send_message": true,
   716                  "chat_type": "direct",
   717                  "counters_enabled": true,
   718                  "created": "2019-09-18T00:00:42.318781Z",
   719                  "display_name": "Контакт №32",
   720                  "gentime": 1568764842326248192,
   721                  "icons": {
   722                      "stub": "http://127.0.0.1:8000/u/8e88eb/32/256.png"
   723                  },
   724                  "jid": "d-a792832a-d9f6-4bbc-b545-f2800e329c8c",
   725                  "notifications_enabled": true
   726              },
   727              {
   728                  "can_call": true,
   729                  "can_send_message": true,
   730                  "chat_type": "direct",
   731                  "counters_enabled": true,
   732                  "created": "2019-09-18T00:00:41.097659Z",
   733                  "display_name": "Контакт №31",
   734                  "gentime": 1568764841104200192,
   735                  "icons": {
   736                      "stub": "http://127.0.0.1:8000/u/579dda/31/256.png"
   737                  },
   738                  "jid": "d-bfe1fa23-c32b-48ea-8fed-d2b6f583fb77",
   739                  "notifications_enabled": true
   740              },
   741              {
   742                  "can_call": true,
   743                  "can_send_message": true,
   744                  "chat_type": "direct",
   745                  "counters_enabled": true,
   746                  "created": "2019-09-18T00:00:38.428242Z",
   747                  "display_name": "Контакт №30",
   748                  "gentime": 1568764838432389632,
   749                  "icons": {
   750                      "stub": "http://127.0.0.1:8000/u/63bed3/30/256.png"
   751                  },
   752                  "jid": "d-bc7550f7-ae4b-41de-82d3-d4b5b5b7f600",
   753                  "notifications_enabled": true
   754              },
   755              {
   756                  "can_call": true,
   757                  "can_send_message": true,
   758                  "chat_type": "direct",
   759                  "counters_enabled": true,
   760                  "created": "2019-09-18T00:00:36.676433Z",
   761                  "display_name": "Контакт №29",
   762                  "gentime": 1568764836680841984,
   763                  "icons": {
   764                      "stub": "http://127.0.0.1:8000/u/578e3c/29/256.png"
   765                  },
   766                  "jid": "d-1b20a9aa-ecf5-49fd-8477-0998d42e1ade",
   767                  "notifications_enabled": true
   768              },
   769              {
   770                  "can_call": true,
   771                  "can_send_message": true,
   772                  "chat_type": "direct",
   773                  "counters_enabled": true,
   774                  "created": "2019-09-18T00:00:34.945690Z",
   775                  "display_name": "Контакт №28",
   776                  "gentime": 1568764834949238528,
   777                  "icons": {
   778                      "stub": "http://127.0.0.1:8000/u/f08c50/28/256.png"
   779                  },
   780                  "jid": "d-10e10caf-6127-4649-b2d6-5ad1395d32a5",
   781                  "notifications_enabled": true
   782              },
   783              {
   784                  "can_call": true,
   785                  "can_send_message": true,
   786                  "chat_type": "direct",
   787                  "counters_enabled": true,
   788                  "created": "2019-09-18T00:00:33.326639Z",
   789                  "display_name": "Контакт №27",
   790                  "gentime": 1568764833332984320,
   791                  "icons": {
   792                      "stub": "http://127.0.0.1:8000/u/f0769a/27/256.png"
   793                  },
   794                  "jid": "d-7589ac63-4c0d-4685-9bf5-63b83cdcc3ab",
   795                  "notifications_enabled": true
   796              },
   797              {
   798                  "can_call": true,
   799                  "can_send_message": true,
   800                  "chat_type": "direct",
   801                  "counters_enabled": true,
   802                  "created": "2019-09-18T00:00:31.700784Z",
   803                  "display_name": "Контакт №26",
   804                  "gentime": 1568764831705233664,
   805                  "icons": {
   806                      "stub": "http://127.0.0.1:8000/u/e36659/26/256.png"
   807                  },
   808                  "jid": "d-d62ca7c6-83b5-4853-bfc5-10e8c2e68b13",
   809                  "notifications_enabled": true
   810              },
   811              {
   812                  "can_call": true,
   813                  "can_send_message": true,
   814                  "chat_type": "direct",
   815                  "counters_enabled": true,
   816                  "created": "2019-09-18T00:00:30.429840Z",
   817                  "display_name": "Контакт №25",
   818                  "gentime": 1568764830435267328,
   819                  "icons": {
   820                      "stub": "http://127.0.0.1:8000/u/8e88eb/25/256.png"
   821                  },
   822                  "jid": "d-b54d8559-4d94-46e6-b1ff-673a55e5cf5d",
   823                  "notifications_enabled": true
   824              },
   825              {
   826                  "can_call": true,
   827                  "can_send_message": true,
   828                  "chat_type": "direct",
   829                  "counters_enabled": true,
   830                  "created": "2019-09-18T00:00:28.982264Z",
   831                  "display_name": "Контакт №24",
   832                  "gentime": 1568764828988044800,
   833                  "icons": {
   834                      "stub": "http://127.0.0.1:8000/u/579dda/24/256.png"
   835                  },
   836                  "jid": "d-0f902404-96c4-4c5e-8385-d33a46fd5566",
   837                  "notifications_enabled": true
   838              },
   839              {
   840                  "can_call": true,
   841                  "can_send_message": true,
   842                  "chat_type": "direct",
   843                  "counters_enabled": true,
   844                  "created": "2019-09-18T00:00:27.429493Z",
   845                  "display_name": "Контакт №23",
   846                  "gentime": 1568764827437857536,
   847                  "icons": {
   848                      "stub": "http://127.0.0.1:8000/u/63bed3/23/256.png"
   849                  },
   850                  "jid": "d-c15b9ad4-b03b-4dc1-aeaa-725e09bedbcf",
   851                  "notifications_enabled": true
   852              },
   853              {
   854                  "can_call": true,
   855                  "can_send_message": true,
   856                  "chat_type": "direct",
   857                  "counters_enabled": true,
   858                  "created": "2019-09-18T00:00:26.171104Z",
   859                  "display_name": "Контакт №22",
   860                  "gentime": 1568764826174592768,
   861                  "icons": {
   862                      "stub": "http://127.0.0.1:8000/u/578e3c/22/256.png"
   863                  },
   864                  "jid": "d-571d1843-96d1-497b-a53c-2cc03d815194",
   865                  "notifications_enabled": true
   866              },
   867              {
   868                  "can_call": true,
   869                  "can_send_message": true,
   870                  "chat_type": "direct",
   871                  "counters_enabled": true,
   872                  "created": "2019-09-18T00:00:25.083140Z",
   873                  "display_name": "Контакт №21",
   874                  "gentime": 1568764825085393152,
   875                  "icons": {
   876                      "stub": "http://127.0.0.1:8000/u/f08c50/21/256.png"
   877                  },
   878                  "jid": "d-14ba8969-e3a9-4daf-b6c3-bed4ea931e06",
   879                  "notifications_enabled": true
   880              },
   881              {
   882                  "can_call": true,
   883                  "can_send_message": true,
   884                  "chat_type": "direct",
   885                  "counters_enabled": true,
   886                  "created": "2019-09-18T00:00:23.970206Z",
   887                  "display_name": "Контакт №20",
   888                  "gentime": 1568764823973247744,
   889                  "icons": {
   890                      "stub": "http://127.0.0.1:8000/u/f0769a/20/256.png"
   891                  },
   892                  "jid": "d-13b47a4f-4473-4a8f-82ef-00b00ce5c02f",
   893                  "notifications_enabled": true
   894              },
   895              {
   896                  "can_call": true,
   897                  "can_send_message": true,
   898                  "chat_type": "direct",
   899                  "counters_enabled": true,
   900                  "created": "2019-09-18T00:00:23.013194Z",
   901                  "display_name": "Контакт №19",
   902                  "gentime": 1568764823017283072,
   903                  "icons": {
   904                      "stub": "http://127.0.0.1:8000/u/e36659/19/256.png"
   905                  },
   906                  "jid": "d-1d60b554-5da7-4f17-a078-eb77168081a8",
   907                  "notifications_enabled": true
   908              },
   909              {
   910                  "can_call": true,
   911                  "can_send_message": true,
   912                  "chat_type": "direct",
   913                  "counters_enabled": true,
   914                  "created": "2019-09-18T00:00:21.974534Z",
   915                  "display_name": "Контакт №18",
   916                  "gentime": 1568764821976428800,
   917                  "icons": {
   918                      "stub": "http://127.0.0.1:8000/u/8e88eb/18/256.png"
   919                  },
   920                  "jid": "d-ce8117ae-867d-400d-b7c8-e7df6a2ecee7",
   921                  "notifications_enabled": true
   922              },
   923              {
   924                  "can_call": true,
   925                  "can_send_message": true,
   926                  "chat_type": "direct",
   927                  "counters_enabled": true,
   928                  "created": "2019-09-18T00:00:21.113294Z",
   929                  "display_name": "Контакт №17",
   930                  "gentime": 1568764821115754496,
   931                  "icons": {
   932                      "stub": "http://127.0.0.1:8000/u/579dda/17/256.png"
   933                  },
   934                  "jid": "d-951775af-15fd-4e5f-bb13-099c9afd6586",
   935                  "notifications_enabled": true
   936              },
   937              {
   938                  "can_call": true,
   939                  "can_send_message": true,
   940                  "chat_type": "direct",
   941                  "counters_enabled": true,
   942                  "created": "2019-09-18T00:00:20.254806Z",
   943                  "display_name": "Контакт №16",
   944                  "gentime": 1568764820257041664,
   945                  "icons": {
   946                      "stub": "http://127.0.0.1:8000/u/63bed3/16/256.png"
   947                  },
   948                  "jid": "d-c540dd6e-4da3-4b65-8e89-bd35554978c2",
   949                  "notifications_enabled": true
   950              },
   951              {
   952                  "can_call": true,
   953                  "can_send_message": true,
   954                  "chat_type": "direct",
   955                  "counters_enabled": true,
   956                  "created": "2019-09-18T00:00:19.406973Z",
   957                  "display_name": "Контакт №15",
   958                  "gentime": 1568764819409007360,
   959                  "icons": {
   960                      "stub": "http://127.0.0.1:8000/u/578e3c/15/256.png"
   961                  },
   962                  "jid": "d-6496b27c-3251-4683-896a-a7f2191b7a33",
   963                  "notifications_enabled": true
   964              },
   965              {
   966                  "can_call": true,
   967                  "can_send_message": true,
   968                  "chat_type": "direct",
   969                  "counters_enabled": true,
   970                  "created": "2019-09-18T00:00:18.430679Z",
   971                  "display_name": "Контакт №14",
   972                  "gentime": 1568764818432459008,
   973                  "icons": {
   974                      "stub": "http://127.0.0.1:8000/u/f08c50/14/256.png"
   975                  },
   976                  "jid": "d-84e3cb48-598b-4ffd-918e-0662ebeb3469",
   977                  "notifications_enabled": true
   978              },
   979              {
   980                  "can_call": true,
   981                  "can_send_message": true,
   982                  "chat_type": "direct",
   983                  "counters_enabled": true,
   984                  "created": "2019-09-18T00:00:17.577868Z",
   985                  "display_name": "Контакт №13",
   986                  "gentime": 1568764817580576512,
   987                  "icons": {
   988                      "stub": "http://127.0.0.1:8000/u/f0769a/13/256.png"
   989                  },
   990                  "jid": "d-26879ae0-a4b9-4523-8875-4e26c4787d27",
   991                  "notifications_enabled": true
   992              },
   993              {
   994                  "can_call": true,
   995                  "can_send_message": true,
   996                  "chat_type": "direct",
   997                  "counters_enabled": true,
   998                  "created": "2019-09-18T00:00:16.423089Z",
   999                  "display_name": "Контакт №12",
  1000                  "gentime": 1568764816433606656,
  1001                  "icons": {
  1002                      "stub": "http://127.0.0.1:8000/u/e36659/12/256.png"
  1003                  },
  1004                  "jid": "d-5049173a-93dc-4904-8796-6807b6f07bf1",
  1005                  "notifications_enabled": true
  1006              },
  1007              {
  1008                  "can_call": true,
  1009                  "can_send_message": true,
  1010                  "chat_type": "direct",
  1011                  "counters_enabled": true,
  1012                  "created": "2019-09-18T00:00:15.370702Z",
  1013                  "display_name": "Контакт №11",
  1014                  "gentime": 1568764815376827136,
  1015                  "icons": {
  1016                      "stub": "http://127.0.0.1:8000/u/8e88eb/11/256.png"
  1017                  },
  1018                  "jid": "d-8bb2ed5e-5cf4-457c-9a7b-070d7e4116a9",
  1019                  "notifications_enabled": true
  1020              },
  1021              {
  1022                  "can_call": true,
  1023                  "can_send_message": true,
  1024                  "chat_type": "direct",
  1025                  "counters_enabled": true,
  1026                  "created": "2019-09-18T00:00:14.302001Z",
  1027                  "display_name": "Контакт №10",
  1028                  "gentime": 1568764814322221056,
  1029                  "icons": {
  1030                      "stub": "http://127.0.0.1:8000/u/579dda/10/256.png"
  1031                  },
  1032                  "jid": "d-a87e168a-78df-49aa-9abb-9b5409eb7de5",
  1033                  "notifications_enabled": true
  1034              },
  1035              {
  1036                  "can_call": true,
  1037                  "can_send_message": true,
  1038                  "chat_type": "direct",
  1039                  "counters_enabled": true,
  1040                  "created": "2019-09-18T00:00:13.306725Z",
  1041                  "display_name": "Контакт №9",
  1042                  "gentime": 1568764813310813440,
  1043                  "icons": {
  1044                      "stub": "http://127.0.0.1:8000/u/63bed3/%D0%9A%E2%84%96/256.png"
  1045                  },
  1046                  "jid": "d-425ef763-2162-4dcf-8e0e-5ce0615518d8",
  1047                  "notifications_enabled": true
  1048              },
  1049              {
  1050                  "can_call": true,
  1051                  "can_send_message": true,
  1052                  "chat_type": "direct",
  1053                  "counters_enabled": true,
  1054                  "created": "2019-09-18T00:00:12.378013Z",
  1055                  "display_name": "Контакт №8",
  1056                  "gentime": 1568764812385766400,
  1057                  "icons": {
  1058                      "stub": "http://127.0.0.1:8000/u/578e3c/%D0%9A%E2%84%96/256.png"
  1059                  },
  1060                  "jid": "d-2bde58fa-3b2b-4c10-8041-b0a65e6d74b4",
  1061                  "notifications_enabled": true
  1062              },
  1063              {
  1064                  "can_call": true,
  1065                  "can_send_message": true,
  1066                  "chat_type": "direct",
  1067                  "counters_enabled": true,
  1068                  "created": "2019-09-18T00:00:11.451771Z",
  1069                  "display_name": "Контакт №7",
  1070                  "gentime": 1568764811455242240,
  1071                  "icons": {
  1072                      "stub": "http://127.0.0.1:8000/u/f08c50/%D0%9A%E2%84%96/256.png"
  1073                  },
  1074                  "jid": "d-f73f2847-4fcb-4f7e-bc11-8d2aaf21cf00",
  1075                  "notifications_enabled": true
  1076              },
  1077              {
  1078                  "can_call": true,
  1079                  "can_send_message": true,
  1080                  "chat_type": "direct",
  1081                  "counters_enabled": true,
  1082                  "created": "2019-09-18T00:00:10.605227Z",
  1083                  "display_name": "Контакт №6",
  1084                  "gentime": 1568764810616535296,
  1085                  "icons": {
  1086                      "stub": "http://127.0.0.1:8000/u/f0769a/%D0%9A%E2%84%96/256.png"
  1087                  },
  1088                  "jid": "d-af8d0ae3-ff07-4c49-94d0-7d531f972b0e",
  1089                  "notifications_enabled": true
  1090              },
  1091              {
  1092                  "can_call": true,
  1093                  "can_send_message": true,
  1094                  "chat_type": "direct",
  1095                  "counters_enabled": true,
  1096                  "created": "2019-09-18T00:00:09.803211Z",
  1097                  "display_name": "Контакт №5",
  1098                  "gentime": 1568764809805365248,
  1099                  "icons": {
  1100                      "stub": "http://127.0.0.1:8000/u/e36659/%D0%9A%E2%84%96/256.png"
  1101                  },
  1102                  "jid": "d-53e898d1-3d7b-4cc4-9ff6-ca034b5709cb",
  1103                  "notifications_enabled": true
  1104              },
  1105              {
  1106                  "can_call": true,
  1107                  "can_send_message": true,
  1108                  "chat_type": "direct",
  1109                  "counters_enabled": true,
  1110                  "created": "2019-09-18T00:00:09.082753Z",
  1111                  "display_name": "Контакт №4",
  1112                  "gentime": 1568764809084504320,
  1113                  "icons": {
  1114                      "stub": "http://127.0.0.1:8000/u/8e88eb/%D0%9A%E2%84%96/256.png"
  1115                  },
  1116                  "jid": "d-c094f142-1b54-4fae-8128-9b41504b56a9",
  1117                  "notifications_enabled": true
  1118              },
  1119              {
  1120                  "can_call": true,
  1121                  "can_send_message": true,
  1122                  "chat_type": "direct",
  1123                  "counters_enabled": true,
  1124                  "created": "2019-09-18T00:00:08.302823Z",
  1125                  "display_name": "Контакт №3",
  1126                  "gentime": 1568764808307773184,
  1127                  "icons": {
  1128                      "stub": "http://127.0.0.1:8000/u/579dda/%D0%9A%E2%84%96/256.png"
  1129                  },
  1130                  "jid": "d-ee3d7c07-fe0f-4cbd-bf3a-b8e72f0ff1c6",
  1131                  "notifications_enabled": true
  1132              },
  1133              {
  1134                  "can_send_message": true,
  1135                  "chat_type": "direct",
  1136                  "counters_enabled": true,
  1137                  "created": "2019-09-18T00:00:07.568804Z",
  1138                  "display_name": "tada.teamBot",
  1139                  "gentime": 1568764899109919304,
  1140                  "icons": {
  1141                      "lg": {
  1142                          "height": 512,
  1143                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot512.png",
  1144                          "width": 512
  1145                      },
  1146                      "sm": {
  1147                          "height": 256,
  1148                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot256.png",
  1149                          "width": 256
  1150                      }
  1151                  },
  1152                  "jid": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1153                  "last_message": {
  1154                      "chat": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1155                      "chat_type": "direct",
  1156                      "content": {
  1157                          "text": "Новый участник команды: @Контакт_№32",
  1158                          "type": "plain"
  1159                      },
  1160                      "created": "2019-09-18T00:01:39.103766Z",
  1161                      "from": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1162                      "gentime": 1568764899109919304,
  1163                      "is_last": true,
  1164                      "links": [
  1165                          {
  1166                              "_notify_ids": [
  1167                                  34
  1168                              ],
  1169                              "_status": 1,
  1170                              "pattern": "@Контакт_№32",
  1171                              "text": "@Контакт №32",
  1172                              "url": "otv://d-a792832a-d9f6-4bbc-b545-f2800e329c8c"
  1173                          }
  1174                      ],
  1175                      "message_id": "6610b580-1d97-46da-902c-36fe03db9392",
  1176                      "prev": "27980080-6d7c-4389-b2df-958bac09c801",
  1177                      "to": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e"
  1178                  },
  1179                  "notifications_enabled": true,
  1180                  "num_unread": 31
  1181              },
  1182              {
  1183                  "can_send_message": true,
  1184                  "chat_type": "direct",
  1185                  "counters_enabled": true,
  1186                  "created": "2019-09-18T00:00:07.517104Z",
  1187                  "display_name": "Мои заметки",
  1188                  "gentime": 1568764807520538368,
  1189                  "icons": {
  1190                      "lg": {
  1191                          "height": 512,
  1192                          "url": "http://127.0.0.1:8000/static/tada-bots/notebot512.png",
  1193                          "width": 512
  1194                      },
  1195                      "sm": {
  1196                          "height": 256,
  1197                          "url": "http://127.0.0.1:8000/static/tada-bots/notebot256.png",
  1198                          "width": 256
  1199                      }
  1200                  },
  1201                  "jid": "d-6d02dd61-8c07-4d11-a1f5-4584569d7b6d",
  1202                  "notifications_enabled": true
  1203              },
  1204              {
  1205                  "can_call": true,
  1206                  "can_send_message": true,
  1207                  "chat_type": "direct",
  1208                  "counters_enabled": true,
  1209                  "created": "2019-09-18T00:00:07.435409Z",
  1210                  "display_name": "Контакт №1",
  1211                  "gentime": 1568764807438561792,
  1212                  "icons": {
  1213                      "stub": "http://127.0.0.1:8000/u/578e3c/%D0%9A%E2%84%96/256.png"
  1214                  },
  1215                  "jid": "d-181b9859-ea3f-4e26-85c9-9e7ee7aaaa9a",
  1216                  "notifications_enabled": true
  1217              }
  1218          ],
  1219          "group_sections": [],
  1220          "groups": [
  1221              {
  1222                  "can_call": true,
  1223                  "can_send_message": true,
  1224                  "chat_type": "group",
  1225                  "counters_enabled": true,
  1226                  "created": "2019-09-18T00:00:06.105362Z",
  1227                  "default_for_all": true,
  1228                  "description": "Сюда автоматически попадают все участники команды",
  1229                  "display_name": "Общий чат",
  1230                  "gentime": 1568764808134709248,
  1231                  "icons": {
  1232                      "stub": "http://127.0.0.1:8000/u/f0769a/%D0%9E%D1%87/256.png"
  1233                  },
  1234                  "jid": "g-82d6c0d4-8921-4519-abb3-02f17373112f",
  1235                  "notifications_enabled": true,
  1236                  "num_members": 32,
  1237                  "public": true,
  1238                  "status": "member"
  1239              }
  1240          ],
  1241          "task_chats": [
  1242              {
  1243                  "assignee": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1244                  "can_call": true,
  1245                  "can_send_message": true,
  1246                  "chat_type": "task",
  1247                  "counters_enabled": true,
  1248                  "created": "2019-09-18T00:23:46.506612Z",
  1249                  "display_name": "1. Загрузить фото профиля",
  1250                  "gentime": 1568766227276560299,
  1251                  "icons": {
  1252                      "lg": {
  1253                          "height": 512,
  1254                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot512.png",
  1255                          "width": 512
  1256                      },
  1257                      "sm": {
  1258                          "height": 256,
  1259                          "url": "http://127.0.0.1:8000/static/tada-bots/systembot256.png",
  1260                          "width": 256
  1261                      }
  1262                  },
  1263                  "jid": "t-2185340c-2956-4433-a4be-c42c73a5f226",
  1264                  "last_message": {
  1265                      "chat": "t-2185340c-2956-4433-a4be-c42c73a5f226",
  1266                      "chat_type": "task",
  1267                      "content": {
  1268                          "actor": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1269                          "text": "Created task for @Контакт_№2: Загрузить фото профиля\nВ мобильном приложении настройки вашего профиля находятся слева, в боковом меню. В веб-версии — в правом верхнем углу.",
  1270                          "title": "Created task for @Контакт_№2: Загрузить фото профиля\nВ мобильном приложении настройки вашего профиля находятся слева, в боковом меню. В веб-версии — в правом верхнем углу.",
  1271                          "type": "change"
  1272                      },
  1273                      "created": "2019-09-18T00:23:47.276536Z",
  1274                      "from": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1275                      "gentime": 1568766227276560299,
  1276                      "is_first": true,
  1277                      "is_last": true,
  1278                      "links": [
  1279                          {
  1280                              "_notify_ids": [
  1281                                  4
  1282                              ],
  1283                              "_status": 1,
  1284                              "pattern": "@Контакт_№2",
  1285                              "text": "@Контакт №2",
  1286                              "url": "otv://d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e"
  1287                          }
  1288                      ],
  1289                      "message_id": "977f228b-2aa5-4b8b-a4f2-0ff36116aacc",
  1290                      "notice": true,
  1291                      "to": "t-2185340c-2956-4433-a4be-c42c73a5f226"
  1292                  },
  1293                  "notifications_enabled": true,
  1294                  "num": 1,
  1295                  "num_members": 2,
  1296                  "num_unread": 1,
  1297                  "num_unread_notices": 1,
  1298                  "observers": [],
  1299                  "owner": "d-23eae5d4-4371-4a43-8815-a6a655cb623e",
  1300                  "tabs": [
  1301                      "active",
  1302                      "in"
  1303                  ],
  1304                  "task_status": "new",
  1305                  "title": "Загрузить фото профиля"
  1306              }
  1307          ],
  1308          "task_sections": [],
  1309          "task_tabs": [
  1310              {
  1311                  "filters": [
  1312                      {
  1313                          "field": "assignee",
  1314                          "title": "Исполнитель"
  1315                      },
  1316                      {
  1317                          "field": "owner",
  1318                          "title": "Постановщик"
  1319                      },
  1320                      {
  1321                          "field": "section",
  1322                          "title": "Проект"
  1323                      },
  1324                      {
  1325                          "field": "tag",
  1326                          "title": "Тэг"
  1327                      }
  1328                  ],
  1329                  "hide_empty": false,
  1330                  "key": "active",
  1331                  "pagination": false,
  1332                  "show_counter": true,
  1333                  "sort": [
  1334                      {
  1335                          "key": "activity",
  1336                          "title": "Активность"
  1337                      },
  1338                      {
  1339                          "key": "deadline",
  1340                          "title": "Крайний срок"
  1341                      },
  1342                      {
  1343                          "key": "new",
  1344                          "title": "Новые"
  1345                      },
  1346                      {
  1347                          "key": "old",
  1348                          "title": "Старые"
  1349                      }
  1350                  ],
  1351                  "title": "Все"
  1352              },
  1353              {
  1354                  "filters": [
  1355                      {
  1356                          "field": "assignee",
  1357                          "title": "Исполнитель"
  1358                      },
  1359                      {
  1360                          "field": "owner",
  1361                          "title": "Постановщик"
  1362                      },
  1363                      {
  1364                          "field": "section",
  1365                          "title": "Проект"
  1366                      },
  1367                      {
  1368                          "field": "tag",
  1369                          "title": "Тэг"
  1370                      }
  1371                  ],
  1372                  "hide_empty": true,
  1373                  "key": "expired",
  1374                  "pagination": false,
  1375                  "show_counter": true,
  1376                  "sort": [
  1377                      {
  1378                          "key": "deadline",
  1379                          "title": "Крайний срок"
  1380                      },
  1381                      {
  1382                          "key": "new",
  1383                          "title": "Новые"
  1384                      },
  1385                      {
  1386                          "key": "old",
  1387                          "title": "Старые"
  1388                      }
  1389                  ],
  1390                  "title": "Истёк срок"
  1391              },
  1392              {
  1393                  "filters": [
  1394                      {
  1395                          "field": "owner",
  1396                          "title": "Постановщик"
  1397                      },
  1398                      {
  1399                          "field": "section",
  1400                          "title": "Проект"
  1401                      },
  1402                      {
  1403                          "field": "tag",
  1404                          "title": "Тэг"
  1405                      }
  1406                  ],
  1407                  "hide_empty": false,
  1408                  "key": "in",
  1409                  "pagination": false,
  1410                  "show_counter": true,
  1411                  "sort": [
  1412                      {
  1413                          "key": "activity",
  1414                          "title": "Активность"
  1415                      },
  1416                      {
  1417                          "key": "deadline",
  1418                          "title": "Крайний срок"
  1419                      },
  1420                      {
  1421                          "key": "new",
  1422                          "title": "Новые"
  1423                      },
  1424                      {
  1425                          "key": "old",
  1426                          "title": "Старые"
  1427                      }
  1428                  ],
  1429                  "title": "Входящие"
  1430              },
  1431              {
  1432                  "filters": [
  1433                      {
  1434                          "field": "assignee",
  1435                          "title": "Исполнитель"
  1436                      },
  1437                      {
  1438                          "field": "section",
  1439                          "title": "Проект"
  1440                      },
  1441                      {
  1442                          "field": "tag",
  1443                          "title": "Тэг"
  1444                      }
  1445                  ],
  1446                  "hide_empty": false,
  1447                  "key": "out",
  1448                  "pagination": false,
  1449                  "show_counter": true,
  1450                  "sort": [
  1451                      {
  1452                          "key": "activity",
  1453                          "title": "Активность"
  1454                      },
  1455                      {
  1456                          "key": "deadline",
  1457                          "title": "Крайний срок"
  1458                      },
  1459                      {
  1460                          "key": "new",
  1461                          "title": "Новые"
  1462                      },
  1463                      {
  1464                          "key": "old",
  1465                          "title": "Старые"
  1466                      }
  1467                  ],
  1468                  "title": "Исходящие"
  1469              },
  1470              {
  1471                  "filters": [
  1472                      {
  1473                          "field": "assignee",
  1474                          "title": "Исполнитель"
  1475                      },
  1476                      {
  1477                          "field": "owner",
  1478                          "title": "Постановщик"
  1479                      },
  1480                      {
  1481                          "field": "section",
  1482                          "title": "Проект"
  1483                      },
  1484                      {
  1485                          "field": "tag",
  1486                          "title": "Тэг"
  1487                      }
  1488                  ],
  1489                  "hide_empty": true,
  1490                  "key": "copy",
  1491                  "pagination": false,
  1492                  "show_counter": true,
  1493                  "sort": [
  1494                      {
  1495                          "key": "activity",
  1496                          "title": "Активность"
  1497                      },
  1498                      {
  1499                          "key": "deadline",
  1500                          "title": "Крайний срок"
  1501                      },
  1502                      {
  1503                          "key": "new",
  1504                          "title": "Новые"
  1505                      },
  1506                      {
  1507                          "key": "old",
  1508                          "title": "Старые"
  1509                      }
  1510                  ],
  1511                  "title": "Наблюдаю"
  1512              },
  1513              {
  1514                  "filters": [
  1515                      {
  1516                          "field": "assignee",
  1517                          "title": "Исполнитель"
  1518                      },
  1519                      {
  1520                          "field": "owner",
  1521                          "title": "Постановщик"
  1522                      },
  1523                      {
  1524                          "field": "section",
  1525                          "title": "Проект"
  1526                      },
  1527                      {
  1528                          "field": "tag",
  1529                          "title": "Тэг"
  1530                      }
  1531                  ],
  1532                  "hide_empty": true,
  1533                  "key": "done",
  1534                  "pagination": true,
  1535                  "show_counter": false,
  1536                  "sort": [
  1537                      {
  1538                          "key": "done",
  1539                          "title": "Дата завершения"
  1540                      },
  1541                      {
  1542                          "key": "new",
  1543                          "title": "Новые"
  1544                      },
  1545                      {
  1546                          "key": "old",
  1547                          "title": "Старые"
  1548                      }
  1549                  ],
  1550                  "title": "Готово"
  1551              }
  1552          ]
  1553      }
  1554  }`,
  1555  	"server.time": `{
  1556      "event": "server.time",
  1557      "params": {
  1558          "time": "2019-09-27T01:01:33.216665Z"
  1559      }
  1560  }`,
  1561  	"server.login": `{
  1562      "event": "server.login",
  1563      "params": {
  1564          "device_name": "(unknown device)"
  1565      }
  1566  }`,
  1567  	"server.section.updated": `{
  1568      "event": "server.section.updated",
  1569      "params": {
  1570          "chat_type": "group",
  1571          "gentime": 1569546093241191168,
  1572          "sections": []
  1573      }
  1574  }`,
  1575  	"server.section.deleted": `{
  1576      "event": "server.section.deleted",
  1577      "params": {
  1578          "chat_type": "direct",
  1579          "gentime": 1568786364815431424,
  1580          "sections": [
  1581              {
  1582                  "uid": "8daeb4a2-4863-4953-bcf1-c58b84dc5272"
  1583              }
  1584          ]
  1585      }
  1586  }`,
  1587  	"server.online": `{
  1588      "event": "server.online",
  1589      "params": {
  1590          "calls": [
  1591              {
  1592                  "jid": "g-3f7e2a85-49f5-4586-8229-d9c52813dcb2"
  1593              }
  1594          ],
  1595          "contacts": [
  1596              {
  1597                  "afk": false,
  1598                  "jid": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1599                  "mobile": false
  1600              }
  1601          ]
  1602      }
  1603  }`,
  1604  	"server.contact.updated": `{
  1605      "event": "server.contact.updated",
  1606      "params": {
  1607          "contacts": [
  1608              {
  1609                  "can_add_to_group": true,
  1610                  "can_call": true,
  1611                  "can_create_task": true,
  1612                  "can_send_message": true,
  1613                  "changeable_fields": [],
  1614                  "contact_email": "",
  1615                  "contact_phone": "+75550000031",
  1616                  "display_name": "Контакт №32",
  1617                  "icons": {
  1618                      "stub": "http://127.0.0.1:8000/u/8e88eb/32/256.png"
  1619                  },
  1620                  "jid": "d-a792832a-d9f6-4bbc-b545-f2800e329c8c",
  1621                  "last_activity": null,
  1622                  "role": "",
  1623                  "sections": [],
  1624                  "status": "member"
  1625              }
  1626          ]
  1627      }
  1628  }`,
  1629  	"server.remind.updated": `{
  1630      "event": "server.remind.updated",
  1631      "params": {
  1632          "reminds": [
  1633              {
  1634                  "chat": "t-2c527748-2e00-440e-a625-58121d42fdad",
  1635                  "fire_at": "2019-09-27T11:01:03.428564Z",
  1636                  "uid": "22018199-c3ae-4a9c-829e-985e975eb62a"
  1637              }
  1638          ]
  1639      }
  1640  }`,
  1641  	"server.remind.deleted": `{
  1642      "event": "server.remind.deleted",
  1643      "params": {
  1644          "reminds": [
  1645              {
  1646                  "uid": "22018199-c3ae-4a9c-829e-985e975eb62a"
  1647              }
  1648          ]
  1649      }
  1650  }`,
  1651  	"server.remind.fired": `{
  1652      "event": "server.remind.fired",
  1653      "params": {
  1654          "reminds": [
  1655              {
  1656                  "chat": "t-2c527748-2e00-440e-a625-58121d42fdad",
  1657                  "fire_at": "2019-09-27T11:01:03.428564Z",
  1658                  "uid": "22018199-c3ae-4a9c-829e-985e975eb62a"
  1659              }
  1660          ]
  1661      }
  1662  }`,
  1663  	"server.chat.composing": `{
  1664      "event": "server.chat.composing",
  1665      "params": {
  1666          "actor": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1667          "composing": true,
  1668          "is_audio": false,
  1669          "jid": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e"
  1670      }
  1671  }`,
  1672  	"server.call.talking": `{
  1673      "event": "server.call.talking",
  1674      "params": {
  1675          "_level": null,
  1676          "actor": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1677          "jid": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1678          "talking": true
  1679      }
  1680  }`,
  1681  	"server.chat.lastread": `{
  1682      "event": "server.chat.lastread",
  1683      "params": {
  1684          "badge": 0,
  1685          "chats": [
  1686              {
  1687                  "chat_type": "direct",
  1688                  "gentime": 1569546084300075149,
  1689                  "jid": "d-2a9d8c43-41d1-479c-9c8c-f029f799a724",
  1690                  "last_read_message_id": "f4f1f09c-f978-4b54-a321-b4c82604010d",
  1691                  "num_unread": 0,
  1692                  "num_unread_notices": 0
  1693              }
  1694          ],
  1695          "team_unread": {
  1696              "direct": {
  1697                  "chats": 0,
  1698                  "messages": 0
  1699              },
  1700              "group": {
  1701                  "chats": 0,
  1702                  "messages": 0
  1703              },
  1704              "task": {
  1705                  "chats": 0,
  1706                  "messages": 0
  1707              }
  1708          }
  1709      }
  1710  }`,
  1711  	"server.chat.updated": `{
  1712      "event": "server.chat.updated",
  1713      "params": {
  1714          "badge": 449,
  1715          "chats": [
  1716              {
  1717                  "can_call": true,
  1718                  "can_send_message": true,
  1719                  "chat_type": "group",
  1720                  "counters_enabled": true,
  1721                  "created": "2019-09-18T00:00:06.105362Z",
  1722                  "default_for_all": true,
  1723                  "description": "Сюда автоматически попадают все участники команды",
  1724                  "display_name": "Общий чат",
  1725                  "gentime": 1568764808134709248,
  1726                  "icons": {
  1727                      "stub": "http://127.0.0.1:8000/u/f0769a/%D0%9E%D1%87/256.png"
  1728                  },
  1729                  "jid": "g-82d6c0d4-8921-4519-abb3-02f17373112f",
  1730                  "notifications_enabled": true,
  1731                  "num_members": 32,
  1732                  "public": true,
  1733                  "status": "member"
  1734              }
  1735          ],
  1736          "team_unread": {
  1737              "direct": {
  1738                  "chats": 1,
  1739                  "messages": 31
  1740              },
  1741              "group": {
  1742                  "chats": 0,
  1743                  "messages": 0
  1744              },
  1745              "task": {
  1746                  "chats": 1,
  1747                  "messages": 1
  1748              }
  1749          }
  1750      }
  1751  }`,
  1752  	"server.chat.deleted": `{
  1753      "event": "server.chat.deleted",
  1754      "params": {
  1755          "badge": 449,
  1756          "chats": [
  1757              {
  1758                  "chat_type": "group",
  1759                  "gentime": 1569546094920474368,
  1760                  "is_archive": true,
  1761                  "jid": "g-3f7e2a85-49f5-4586-8229-d9c52813dcb2"
  1762              }
  1763          ],
  1764          "team_unread": {
  1765              "direct": {
  1766                  "chats": 1,
  1767                  "messages": 31
  1768              },
  1769              "group": {
  1770                  "chats": 0,
  1771                  "messages": 0
  1772              },
  1773              "task": {
  1774                  "chats": 1,
  1775                  "messages": 1
  1776              }
  1777          }
  1778      }
  1779  }`,
  1780  	"server.message.updated": `{
  1781      "event": "server.message.updated",
  1782      "params": {
  1783          "badge": 51,
  1784          "chat_counters": [
  1785              {
  1786                  "chat_type": "task",
  1787                  "gentime": 1569546093662061959,
  1788                  "jid": "t-be962c01-14ae-4c59-aeb0-f0ff5cffab74",
  1789                  "last_read_message_id": null,
  1790                  "num_unread": 0,
  1791                  "num_unread_notices": 0
  1792              }
  1793          ],
  1794          "delayed": false,
  1795          "messages": [
  1796              {
  1797                  "chat": "t-be962c01-14ae-4c59-aeb0-f0ff5cffab74",
  1798                  "chat_type": "task",
  1799                  "content": {
  1800                      "actor": "d-0b1b2362-fb69-4dd6-8bfb-90c89517168d",
  1801                      "text": "Создана задача для @Контакт_№394: Тест",
  1802                      "title": "Создана задача для @Контакт_№394: Тест",
  1803                      "type": "change"
  1804                  },
  1805                  "created": "2019-09-27T01:01:33.661466Z",
  1806                  "editable_until": "2019-09-28T01:01:33.661466Z",
  1807                  "from": "d-a2d94e8e-74aa-4b0b-b55d-0b4fc1ce07f4",
  1808                  "gentime": 1569546093662061959,
  1809                  "is_first": true,
  1810                  "is_last": true,
  1811                  "message_id": "e0fca4c2-0d17-4317-96cd-703c2ca781e4",
  1812                  "to": "t-be962c01-14ae-4c59-aeb0-f0ff5cffab74"
  1813              }
  1814          ],
  1815          "team_unread": {
  1816              "direct": {
  1817                  "chats": 1,
  1818                  "messages": 51
  1819              },
  1820              "group": {
  1821                  "chats": 0,
  1822                  "messages": 0
  1823              },
  1824              "task": {
  1825                  "chats": 0,
  1826                  "messages": 0
  1827              }
  1828          }
  1829      }
  1830  }`,
  1831  	"server.message.received": `{
  1832      "event": "server.message.received",
  1833      "params": {
  1834          "messages": [
  1835              {
  1836                  "chat": "t-be962c01-14ae-4c59-aeb0-f0ff5cffab74",
  1837                  "message_id": "e0fca4c2-0d17-4317-96cd-703c2ca781e4",
  1838                  "num_received": 0,
  1839                  "received": false
  1840              }
  1841          ]
  1842      }
  1843  }`,
  1844  	"server.call.state": `{
  1845      "event": "server.call.state",
  1846      "params": {
  1847          "audiorecord": true,
  1848          "buzz": false,
  1849          "finish": null,
  1850          "jid": "g-3f7e2a85-49f5-4586-8229-d9c52813dcb2",
  1851          "onliners": [
  1852              {
  1853                  "devices": [
  1854                      {
  1855                          "muted": false,
  1856                          "useragent": "Chrome"
  1857                      }
  1858                  ],
  1859                  "jid": "d-d6de9748-0bcd-4145-b1ce-3d7f41c1c26f",
  1860                  "muted": false
  1861              }
  1862          ],
  1863          "start": "2019-09-27T01:01:35.264095Z"
  1864      }
  1865  }`,
  1866  	"server.call.answer": `{
  1867      "event": "server.call.answer",
  1868      "params": {
  1869          "candidates": [
  1870              {
  1871                  "candidate": "candidate:2 1 tcp 1019216383 95.213.181.86 0 typ host tcptype active",
  1872                  "sdpMLineIndex": 0
  1873              }
  1874          ],
  1875          "jid": "g-3f7e2a85-49f5-4586-8229-d9c52813dcb2",
  1876          "jsep": {
  1877              "sdp": ".....SDP....",
  1878              "type": "answer"
  1879          },
  1880          "onliners": [
  1881              {
  1882                  "devices": [
  1883                      {
  1884                          "browser": null,
  1885                          "muted": true
  1886                      },
  1887                      {
  1888                          "browser": null,
  1889                          "muted": true
  1890                      }
  1891                  ],
  1892                  "jid": "d-ef53637c-f44c-4f49-9ffb-05436eb995ce",
  1893                  "muted": true
  1894              }
  1895          ]
  1896      }
  1897  }`,
  1898  	"server.call.buzz": `{
  1899      "event": "server.call.buzz",
  1900      "params": {
  1901          "display_name": "имя фамилия",
  1902          "icons": {
  1903              "lg": {
  1904                  "height": 512,
  1905                  "url": "http://127.0.0.1:8000/static/tada-bots/systembot512.png",
  1906                  "width": 512
  1907              },
  1908              "sm": {
  1909                  "height": 256,
  1910                  "url": "http://127.0.0.1:8000/static/tada-bots/systembot256.png",
  1911                  "width": 256
  1912              }
  1913          },
  1914          "jid": "g-3f7e2a85-49f5-4586-8229-d9c52813dcb2",
  1915          "team": "6aefcf3b-e61c-4f35-8b5b-9d762a6a6cf9"
  1916      }
  1917  }`,
  1918  	"server.call.buzzcancel": `{
  1919      "event": "server.call.buzzcancel",
  1920      "params": {
  1921          "jid": "d-0bdfbbf5-abfa-4ed2-9f98-991d5bb80127",
  1922          "team": "848cc926-3048-44b3-a9ba-3195a394351d"
  1923      }
  1924  }`,
  1925  	"server.team.updated": `{
  1926      "event": "server.team.updated",
  1927      "params": {
  1928          "teams": [
  1929              {
  1930                  "can_manage_sections": true,
  1931                  "default_task_deadline": "18:00:00",
  1932                  "icons": {
  1933                      "stub": "http://127.0.0.1:8000/u/f0769a/00/256.png"
  1934                  },
  1935                  "last_active": false,
  1936                  "max_message_update_age": 86400,
  1937                  "me": {
  1938                      "alt_send": false,
  1939                      "can_add_to_group": true,
  1940                      "can_create_task": true,
  1941                      "can_delete": true,
  1942                      "changeable_fields": [
  1943                          "alt_send",
  1944                          "contact_email",
  1945                          "contact_mshort_view",
  1946                          "contact_phone",
  1947                          "contact_short_view",
  1948                          "contact_show_archived",
  1949                          "debug_show_activity",
  1950                          "default_lang",
  1951                          "family_name",
  1952                          "given_name",
  1953                          "group_mshort_view",
  1954                          "group_notifications_enabled",
  1955                          "group_short_view",
  1956                          "icons",
  1957                          "phone",
  1958                          "role",
  1959                          "task_mshort_view",
  1960                          "task_notifications_enabled",
  1961                          "task_short_view",
  1962                          "unread_first"
  1963                      ],
  1964                      "contact_email": "",
  1965                      "contact_mshort_view": false,
  1966                      "contact_phone": "+75550000001",
  1967                      "contact_short_view": false,
  1968                      "contact_show_archived": false,
  1969                      "debug_show_activity": false,
  1970                      "default_lang": null,
  1971                      "display_name": "Контакт №2",
  1972                      "family_name": "№2",
  1973                      "given_name": "Контакт",
  1974                      "group_mshort_view": false,
  1975                      "group_notifications_enabled": true,
  1976                      "group_short_view": false,
  1977                      "icons": {
  1978                          "stub": "http://127.0.0.1:8000/u/63bed3/%D0%9A%E2%84%96/256.png"
  1979                      },
  1980                      "jid": "d-bd500a50-3a38-44d1-a43c-fb1a48e1a79e",
  1981                      "last_activity": null,
  1982                      "role": "",
  1983                      "sections": [],
  1984                      "status": "member",
  1985                      "task_mshort_view": false,
  1986                      "task_notifications_enabled": true,
  1987                      "task_short_view": false,
  1988                      "unread_first": false
  1989                  },
  1990                  "name": "T-32 2019-09-18 00:00:05.603182+00:00",
  1991                  "need_confirmation": true,
  1992                  "uid": "c9d8a896-a2b6-40a1-869e-2ecc0ef2436b",
  1993                  "unread": {
  1994                      "direct": {
  1995                          "chats": 1,
  1996                          "messages": 31
  1997                      },
  1998                      "group": {
  1999                          "chats": 0,
  2000                          "messages": 0
  2001                      },
  2002                      "task": {
  2003                          "chats": 1,
  2004                          "messages": 1
  2005                      }
  2006                  }
  2007              }
  2008          ]
  2009      }
  2010  }`,
  2011  	"server.team.deleted": `{
  2012      "event": "server.team.deleted",
  2013      "params": {
  2014          "teams": [
  2015              {
  2016                  "is_archive": true,
  2017                  "uid": "c9d8a896-a2b6-40a1-869e-2ecc0ef2436b"
  2018              }
  2019          ]
  2020      }
  2021  }`,
  2022  	"server.team.counters": `{
  2023      "event": "server.team.counters",
  2024      "params": {
  2025          "teams": [
  2026              {
  2027                  "uid": "b3e92407-41d0-456a-9b1d-3d6b79bfa7d3",
  2028                  "unread": {
  2029                      "direct": {
  2030                          "chats": 1,
  2031                          "messages": 161
  2032                      },
  2033                      "group": {
  2034                          "chats": 0,
  2035                          "messages": 0
  2036                      },
  2037                      "task": {
  2038                          "chats": 1,
  2039                          "messages": 1
  2040                      }
  2041                  }
  2042              },
  2043              {
  2044                  "uid": "8b05a648-d43a-4d17-9a0e-c2a119453494",
  2045                  "unread": {
  2046                      "direct": {
  2047                          "chats": 0,
  2048                          "messages": 0
  2049                      },
  2050                      "group": {
  2051                          "chats": 0,
  2052                          "messages": 0
  2053                      },
  2054                      "task": {
  2055                          "chats": 1,
  2056                          "messages": 1
  2057                      }
  2058                  }
  2059              },
  2060              {
  2061                  "uid": "6aefcf3b-e61c-4f35-8b5b-9d762a6a6cf9",
  2062                  "unread": {
  2063                      "direct": {
  2064                          "chats": 1,
  2065                          "messages": 3
  2066                      },
  2067                      "group": {
  2068                          "chats": 0,
  2069                          "messages": 0
  2070                      },
  2071                      "task": {
  2072                          "chats": 0,
  2073                          "messages": 0
  2074                      }
  2075                  }
  2076              },
  2077              {
  2078                  "uid": "5e854825-d1ac-4b28-a389-f0e8cc3bd675",
  2079                  "unread": {
  2080                      "direct": {
  2081                          "chats": 1,
  2082                          "messages": 1
  2083                      },
  2084                      "group": {
  2085                          "chats": 0,
  2086                          "messages": 0
  2087                      },
  2088                      "task": {
  2089                          "chats": 0,
  2090                          "messages": 0
  2091                      }
  2092                  }
  2093              },
  2094              {
  2095                  "uid": "180b9b6d-ecb0-47aa-8712-33dbd9b4a642",
  2096                  "unread": {
  2097                      "direct": {
  2098                          "chats": 0,
  2099                          "messages": 0
  2100                      },
  2101                      "group": {
  2102                          "chats": 1,
  2103                          "messages": 58
  2104                      },
  2105                      "task": {
  2106                          "chats": 0,
  2107                          "messages": 0
  2108                      }
  2109                  }
  2110              },
  2111              {
  2112                  "uid": "99cabb3b-d4fd-464d-b33d-144b67e3c1df",
  2113                  "unread": {
  2114                      "direct": {
  2115                          "chats": 1,
  2116                          "messages": 127
  2117                      },
  2118                      "group": {
  2119                          "chats": 0,
  2120                          "messages": 0
  2121                      },
  2122                      "task": {
  2123                          "chats": 1,
  2124                          "messages": 1
  2125                      }
  2126                  }
  2127              },
  2128              {
  2129                  "uid": "523e7bdc-e73f-4150-b6b9-656d6178ba51",
  2130                  "unread": {
  2131                      "direct": {
  2132                          "chats": 1,
  2133                          "messages": 63
  2134                      },
  2135                      "group": {
  2136                          "chats": 0,
  2137                          "messages": 0
  2138                      },
  2139                      "task": {
  2140                          "chats": 1,
  2141                          "messages": 1
  2142                      }
  2143                  }
  2144              },
  2145              {
  2146                  "uid": "c9d8a896-a2b6-40a1-869e-2ecc0ef2436b",
  2147                  "unread": {
  2148                      "direct": {
  2149                          "chats": 1,
  2150                          "messages": 31
  2151                      },
  2152                      "group": {
  2153                          "chats": 0,
  2154                          "messages": 0
  2155                      },
  2156                      "task": {
  2157                          "chats": 1,
  2158                          "messages": 1
  2159                      }
  2160                  }
  2161              }
  2162          ]
  2163      }
  2164  }`,
  2165  	"client.ping": `{
  2166  	"confirm_id": "8aad294579b8",
  2167  	"event": "client.ping"
  2168  }`,
  2169  	"client.activity": `{
  2170  	"confirm_id": "75a406625c58",
  2171  	"event": "client.activity",
  2172  	"params": {
  2173  		"afk": "BOOL"
  2174  	}
  2175  }`,
  2176  	"client.confirm": `{
  2177  	"event": "client.confirm",
  2178  	"params": {
  2179  		"confirm_id": "str"
  2180  	}
  2181  }`,
  2182  	"client.message.updated": `{
  2183  	"confirm_id": "2694a2864526",
  2184  	"event": "client.message.updated",
  2185  	"params": {
  2186  		"comment": "STRING",
  2187  		"content": {
  2188  			"text": "...",
  2189  			"type": "plain"
  2190  		},
  2191  		"important": "BOOL",
  2192  		"linked_messages": [
  2193  			"STRING"
  2194  		],
  2195  		"message_id": "STRING",
  2196  		"nopreview": "BOOL",
  2197  		"to": "JID"
  2198  	}
  2199  }`,
  2200  	"client.message.deleted": `{
  2201  	"confirm_id": "cd778785149a",
  2202  	"event": "client.message.deleted",
  2203  	"params": {
  2204  		"message_id": "STRING"
  2205  	}
  2206  }`,
  2207  	"client.chat.composing": `{
  2208  	"confirm_id": "2bd5afaf39af",
  2209  	"event": "client.chat.composing",
  2210  	"params": {
  2211  		"jid": "JID"
  2212  	}
  2213  }`,
  2214  	"client.chat.lastread": `{
  2215  	"confirm_id": "8561d892f3d8",
  2216  	"event": "client.chat.lastread",
  2217  	"params": {
  2218  		"jid": "JID",
  2219  		"last_read_message_id": "STRING"
  2220  	}
  2221  }`,
  2222  	"client.call.sound": `{
  2223  	"confirm_id": "4a24b770a659",
  2224  	"event": "client.call.sound",
  2225  	"params": {
  2226  		"jid": "JID",
  2227  		"muted": "BOOL"
  2228  	}
  2229  }`,
  2230  	"client.call.reject": `{
  2231  	"confirm_id": "55e8cc25d534",
  2232  	"event": "client.call.reject",
  2233  	"params": {
  2234  		"jid": "JID"
  2235  	}
  2236  }`,
  2237  	"client.call.buzzcancel": `{
  2238  	"confirm_id": "8c52201ff7ed",
  2239  	"event": "client.call.buzzcancel",
  2240  	"params": {
  2241  		"jid": "JID"
  2242  	}
  2243  }`,
  2244  	"client.call.buzz": `{
  2245  	"confirm_id": "64977b08d763",
  2246  	"event": "client.call.buzz",
  2247  	"params": {
  2248  		"jid": "JID"
  2249  	}
  2250  }`,
  2251  	"client.call.offer": `{
  2252  	"confirm_id": "b45fdc034116",
  2253  	"event": "client.call.offer",
  2254  	"params": {
  2255  		"jid": "JID",
  2256  		"muted": "BOOL",
  2257  		"sdp": "STRING",
  2258  		"trickle": "BOOL"
  2259  	}
  2260  }`,
  2261  	"client.call.trickle": `{
  2262  	"confirm_id": "5bde78b37316",
  2263  	"event": "client.call.trickle",
  2264  	"params": {
  2265  		"candidate": "STRING",
  2266  		"jid": "JID",
  2267  		"sdp_mid": "STRING",
  2268  		"sdp_mline_index": "INT"
  2269  	}
  2270  }`,
  2271  	"client.call.leave": `{
  2272  	"confirm_id": "f5b6d29013c3",
  2273  	"event": "client.call.leave",
  2274  	"params": {
  2275  		"jid": "JID",
  2276  		"reason": "STRING"
  2277  	}
  2278  }`,
  2279  }