updatePostSharing

Function

update post channel NOTE: this method will change the channel a post belongs to

Parameters

Parameter Type Default Notes
options Required IUpdatePostSharingParams

Returns

{Promise}

Promise<IPost>
Property Type Notes
appInfo string | null
body string
discussion string | null
featureGeometry Geometry | null
geometry Geometry | null
id string
postType PostType
status PostStatus
title string | null
createdAt Inherited Date
creator Inherited string
editor Inherited string
updatedAt Inherited Date
channel Optional IChannel
channelId Optional string
parent Optional IPost | null
parentId Optional string
reactions Optional IReaction[]
replies Optional IPost[] | IPagedResponse<IPost>
replyCount Optional number

Function defined in discussions/src/posts/posts.ts:129