Interface SetCommunityName

Changes name of the given community; requires can_change_info administrator right in the community. Request type for Tdjson#setCommunityName.

interface SetCommunityName {
    @type: "setCommunityName";
    community_id: number;
    name: string;
}

Properties

@type: "setCommunityName"
community_id: number

Identifier of the community.

name: string

New name of the community.