This method returns a list of private channels in the team that the caller is in and archived groups that the caller was in. The list of (non-deactivated) members in each private channel is also returned.
{ARGS}
Returns a list of group objects (also known as "private channel objects"):
{
"ok": true,
"groups": [
{
"id": "G024BE91L",
"name": "secretplans",
"created": 1360782804,
"creator": "U024BE7LH",
"is_archived": false,
"members": [
"U024BE7LH"
],
"topic": {
"value": "Secret plans on hold",
"creator": "U024BE7LV",
"last_set": 1369677212
},
"purpose": {
"value": "Discuss secret plans that no-one else should know",
"creator": "U024BE7LH",
"last_set": 1360782804
}
},
....
]
}
{ERRORS}
{WARNINGS}