PostService.Update Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Update(Post, IEnumerable, IEnumerableOption>, IEnumerable, bool)

Updates a Post.

public static Post Update(Post post, IEnumerable<int> blobs = null, IEnumerable<PollOption> options = null, IEnumerable<int> embeds = null, bool sudo = false)

Parameters

post
Post

The Post to update.

blobs
System.Collections.Generic.IEnumerable

Ids of new Blobs to attach.

options
System.Collections.Generic.IEnumerable
embeds
System.Collections.Generic.IEnumerable
sudo
bool

true to perform action as super user, otherwise false.

Returns

Post

The updated Post.