# new_topic

# Function

Function Name Description Level
new_topic post new topic to a particular forum 3

Input Parameters:

Name Type Required? Description Level
forum_id String yes 3
subject byte[] yes 3
text_body byte[] yes 3
prefix_id String prefix ID that user has selected. List of prefixes are returned from "get_topic" method. 3
attachment_id_array Array of String List of attachment ID that come along with this topic creation. If this parameter is supplied, the previous parameter (parfix_id) should also be provided with null value.
group_id String required when attachment_id_array is specified

Output Parameters:

Name Type Required? Description Level
result String yes return true if the action is executed successfully. 3
result_text byte[] 3
topic_id String yes the newly generated topic ID for this new topic. 3
state Int yes 1 = post is success but need moderation. Otherwise no need to return this key. 3