 | 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.3+0a73c45f0c78941900e328c6c6b819597b665e00
Syntaxpublic 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.
RemarksWikia 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