PostService.Insert Method

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

Insert(Post, App, IEnumerable, IEnumerable, IEnumerableOption>, IEnumerable, bool)

Inserts a Post.

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

Parameters

post
Post

Post to insert.

app
App

App where Post should be inserted.

blobs
System.Collections.Generic.IEnumerable

Ids of Blobs to attach.

embeds
System.Collections.Generic.IEnumerable

Ids of Embeds to attach

options
System.Collections.Generic.IEnumerable

Poll options.

meetings
System.Collections.Generic.IEnumerable

Ids of Meetings to attach

sudo
bool

true to perform action as super user, otherwise false.

Returns

Post

The inserted Post