From Bright Pattern Documentation
< 5.19:Chat-directives
Revision as of 20:36, 26 September 2023 by Matt.lashley (talk | contribs) (Created page with "=Chat Directive: Sticker= The sticker directive calls a messenger's API to send stickers to messenger users. The sticker directive can be entered via: * Agent-guide/UserI...")
• 5.19
Chat Directive: Sticker
The sticker directive calls a messenger's API to send stickers to messenger users. The sticker directive can be entered via:
- Agent Desktop chat UI Text Input Field
- Scenario Builder Send Message+ block
- Workflow Builder Send Message+ block
Format
The sticker directive consists of a forward slash followed by the word sticker, a sticker ID. an optional package ID and an optional messenger ID.
Sticker directive format |
---|
/sticker <stickerId> [, packageId] [, messengerId] |
Formatting Rules
- Directives are case sensitive.
- Separate a directive from its parameters with a colon or whitespace.
- Separate multiple parameters with commas.
- Enclose string parameters in double quotes.
- Add required parameters before optional parameters.
- An optional parameter value may be an empty string.
Examples
Send a sticker: |
---|
/sticker sticker35 |
Send a sticker and its package: |
---|
/sticker : sticker35, package10 |
Send a sticker, a package ID and messenger ID: |
---|
/sticker : sticker35, package10, line |
Send a sticker, an empty package ID and messenger ID: |
---|
/sticker : sticker35, , viber |
Some messengers provide lists of standard stickers and others allow uploading of custom stickers. Links to messenger sticker documentation and sticker APIs:
|
See also:
{{{link6}}}