TIMUIKitChat
widget, shows in the following list:Sticker Type | MessageType | Integrate within Text | Sending Scheme | Rending Scheme | Usage | Default |
Text Message | Yes | The device automatically parses Unicode characters into emojis. The parsing result of the same Unicode characters may vary with devices. | Enabled as default, with a set of default Unicode emoji list, while customization is also support. |
A set of default Unicode emoji list is provided.
| ||
Small image | Text Message | Yes | Image name | The image is automatically matched against the local image assets by name. | Enabled as default
, with two sets of default packages, while adding new packages and cutmization are also support. | Two sets of default packages are provided, shown as the screenshots below. |
Large image | Sticker Message | No | baseURL plus the image file name, which form the path of the emoji image asset |
The asset resources are parsed based on the path. | Images are stored as assets, and are defined in List | - |
Name | Small Image (Designed by us) | Small Image
(The same with QQ) | Emoji Unicode | Tencent Large Image |
Type | Small image | | Unicode
Emoji | Large image |
Description | Enabled as default located at first | Enabled as default
located at second | Enabled as default
located at third with a customizable default list | |
Screenshots | | | | |
stickerPanelConfig
parameter in TIMUIKitChatConfig
. This parameter requires passing in the StickerPanelConfig class for specified configuration.TIMUIKitChat(config: TIMUIKitChatConfig(stickerPanelConfig: StickerPanelConfig(useQQStickerPackage: true, // Whether to enable QQ image small emoji package, enabled by defaultuseTencentCloudChatStickerPackage: true,// Whether to enable our own designed image small emoji package, enabled by defaultunicodeEmojiList: [], // Unicode Emoji list, a default set is provided, passing an empty array will disable this emoji packagecustomStickerPackages: [] // Expand more Custom emoji packages),)
StickerPanelConfig
's useQQStickerPackage
(QQ Style) or useTencentCloudChatStickerPackage
(Our Own Design) to false.StickerPanelConfig
's unicodeEmojiList
.List<int>
.assets/custom_face_resource/
directory of your project. Whether it is large image emoticons or small image stickers, they need to be imported according to this step.List<CustomStickerPackage>
to StickerPanelConfig
's customStickerPackages
.assets/custom_face_resource/
directory of your project.4349
and tcc1
.
Was this page helpful?