| BoardNewPostAsync(String) Method |
This is preliminary documentation and is subject to change.
Asynchronously adds a new reply to the post.
Namespace: WikiClientLibrary.Wikia.DiscussionsAssembly: WikiClientLibrary.Wikia (in WikiClientLibrary.Wikia.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public Task<Post> NewPostAsync(
string postContent
)
Public Function NewPostAsync (
postContent As String
) As Task(Of Post)
Dim instance As Board
Dim postContent As String
Dim returnValue As Task(Of Post)
returnValue = instance.NewPostAsync(postContent)
public:
Task<Post^>^ NewPostAsync(
String^ postContent
)
member NewPostAsync :
postContent : string -> Task<Post>
Parameters
- postContent String
- The content in reply.
Return Value
TaskPostA new post containing the ID of the new post.
Remarks Wikia natively supports post title on Message Walls and Forum Boards.
For the unification of method signature, you can set postTitle when posting
article comment, but the content will be simply surrounded with <h2> HTML markup.
If you leave postTitlenull or empty when posting on Message Walls,
a default title (e.g. Message from [UserName]) will be used by Wikia.
See Also