search_user
Function
Function Name | Description | Level |
search_user | Return a list of users by giving key word. Flag 'search_user' returned in get_config will indicate the plugin support this function. | |
Input Parameters:
Name | Type | Required? | Description | Level |
keywords | byte[] | yes | Key words to search | |
page | Int | | default 1 | |
perpage | Int | | default 20 | |
Output Parameters:
Name | Type | Required? | Description | Level |
total | Int | yes | Total number of users in search result | |
list | Array of Hash table | yes | user list | |
user_id | String | yes | User id | |
username | byte[] | yes | User display name | |
icon_url | String | | User avarat url | |