Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (35 loc) · 744 Bytes

File metadata and controls

44 lines (35 loc) · 744 Bytes

This method is used to invite a user to a channel. The calling user must be a member of the channel.

Arguments

{ARGS}

Response

{
    "ok": true,
    "channel": {
		"id": "C024BE91L",
		"name": "fun",
		"created": 1360782804,
		"creator": "U024BE7LH",
		"is_archived": false,
		"is_member": true,
		"is_general": false,
		"last_read": "1401383885.000061",
		"latest": { … },
		"unread_count": 0,
		"unread_count_display": 0,
		"members": [ … ],
		"topic": {
			"value": "Fun times",
			"creator": "U024BE7LV",
			"last_set": 1369677212
		},
		"purpose": {
			"value": "This channel is for fun",
			"creator": "U024BE7LH",
			"last_set": 1360782804
		}
	}
}

Errors

{ERRORS}

Warnings

{WARNINGS}