Enables scripted content fragments to use Emoticons
Methods
Create
Create a new emoticon
Usage
#set($emoticonResponse = $core_v2_emoticon.Create($code, $url, $description))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
code | string | Code for the emoticon | Required | ||
url | string | URL of emoticon image | Required | ||
description | string | Description of the emoticon | Required |
Return Type
Delete
Deletes an emoticon
Usage
#set($additionalInfoResponse = $core_v2_emoticon.Delete($id))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id of the emoticon | Required |
Return Type
Get
Gets an emoticon
Usage
#set($emoticonResponse = $core_v2_emoticon.Get($id))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id of the emoticon | Required |
Return Type
List
Lists all emoticons
Usage
#set($apiListResponse = $core_v2_emoticon.List())
Return Type
Update
Update an existing emoticon
Usage
#set($emoticonResponse = $core_v2_emoticon.Update($id, "%{Code = $codeArg, Description = $descriptionArg, Url = $urlArg}"))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id of the emoticon | Required | ||
Code | string | Code for the emoticon | Optional | ||
Description | string | Description of the emoticon | Optional | ||
Url | string | URL of emoticon image | Optional |