GroupCreateTopicInCommunity
introduction
Create topic in community group
To use Community feature, purchase the Ultimate edition as instructed in Creating and Upgrading an Application and apply for activation as instructed in Configuration Change Ticket.
Callback data is the string of topic_id
Parameter details
Parameter name | Parameter type | Required | Description |
---|---|---|---|
group_id | string | yes | Group ID |
json_topic_info | GroupTopicInfo | yes | Topic info |
callback | ValueCallback< string > | yes | Asynchronous callback |
Returned template
TIMResult
The parameters of the callback function after successfully calling the API:
code:int
desc:string
json_param:string
user_data:string
Return value details
name | type | description |
---|---|---|
TIMResult | TIMResult | Return value of calling API |
code | int | Result error code: Error Codes |
desc | string | The description of the error. |
json_param | string | Json string. Calling different API will get different Json strings. |
user_data | string | User-defined data transfered by ImSDK without any processing |