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

Latest commit

 

History

History
33 lines (20 loc) · 657 Bytes

groups.rename.md

File metadata and controls

33 lines (20 loc) · 657 Bytes

This method renames a private channel.

Arguments

{ARGS}

Naming

Private channel names can only contain lowercase letters, numbers, hyphens, and underscores, and must be 21 characters or less. We will validate the submitted channel name and modify it to meet the above criteria. When calling this method, we recommend storing the channel's name value that is returned in the response.

Response

{
	"ok": true,
	"channel": {
		"id": "C024BE91L",
		"is_group": true,
		"name": "new_name",
		"created": 1360782804
	}
}

Returns the channel ID, name and date created (as a unix timestamp).

Errors

{ERRORS}

Warnings

{WARNINGS}