Eric Mastro 21e6affa98 feat: edit community channels
Closes #2344.

Add ability to edit name, description, and private fields of a community channel.

feat: Display community channel description
Ensure the width of the description does not surpass the context menu and instead wraps to the next line.

feat: After channel is created, set it as the active channel
2021-06-09 10:19:26 +10:00

2.1 KiB

title description lead date lastmod draft images menu toc
Communities 2020-10-06T08:48:23+00:00 2020-10-06T08:48:23+00:00 false
api
parent
statusgo
true

RPC Calls

communities

joinedCommunities

createCommunity

createCommunityChannel

Creates a community channel with the given name and description, belonging to the community specified by the communityId. Returns a Chat object containing the created community channel. Throws anRpcException if there is an error returned from status-go. Parameters

Name Type Description
communityId string community id
name string community name
description string community description

editCommunityChannel

Edits a community channel, specified by communityId and channelId, with the given name and description. Returns a Chat object with the edited community channel. Throws an RpcException if there is an error returned from status-go. Parameters

Name Type Description
communityId string community id
channelId string channel id
name string community name
description string community description

createCommunityChat

createCommunityCategory

editCommunityCategory

reorderCommunityChat

deleteCommunityCategory

requestCommunityInfoFromMailserver

%*[communityId])

joinCommunity

%*[communityId])

leaveCommunity

%*[communityId])

inviteUsersToCommunity

exportCommunity

%*[communityId]).parseJson()["result"].getStr

importCommunity

%*[communityKey])

removeUserFromCommunity

%*[communityId, pubKey])

requestToJoinCommunity

acceptRequestToJoinCommunity

declineRequestToJoinCommunity

pendingRequestsToJoinForCommunity

%*[communityId]).parseJSON()

myPendingRequestsToJoin

banUserFromCommunity

chatPinnedMessages

%* [chatId, cursorVal, limit])

sendPinMessage