ToolTipsConfig
Introduction
The configuration of the panel, shows after user long clicking a message item.
Parameter introduction
showReplyMessage
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the reply to a message option.
showMultipleChoiceMessage
Parameter type : bool
Supported Platform: All
- Parameter description : Whether to show the multiple-choice option for messages.
showDeleteMessage
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the option to delete a message.
showRecallMessage
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the option to recall a message.
showCopyMessage
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the option to copy a message.
showForwardMessage
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the option to forward a message.
showTranslation
- Parameter type : bool
- Default value:
true
- Supported Platform: All
- Parameter description : Whether to show the option to translate a text message. This module is not available by default. Please contact your Tencent Cloud sales representative or customer service team to enable this feature.
additionalItemBuilder
Parameter type : Widget? Function(V2TimMessage message, Function() closeTooltip, [Key? key])
Supported Platform: All
- Parameter description : A builder for additional custom items. We recommend using
additionalMessageToolTips
instead of this field since version 2.0, as you only need to provide the data rather than the whole widget. This makes usage easier and you don't need to worry about the UI display.
additionalMessageToolTips
Parameter type : List<MessageToolTipItem> Function(V2TimMessage message, Function() closeTooltip)?
Supported Platform: All
- Parameter description : A list of additional message tooltip menu items, provided with the data only. We recommend using this field instead of the previous
additionalItemBuilder
.