Interface IChatItemConverter
Interface that defines how chat items should be converted.
Namespace: Telerik.Maui.Controls.Chat
Assembly: Telerik.Maui.Controls.dll
Syntax
public interface IChatItemConverter
Methods
ConvertToChatItem(Object, ChatItemConverterContext)
Converts a data item to a chat item. In general here you need to create and set up the corresponding Chat
Declaration
ChatItem ConvertToChatItem(object dataItem, ChatItemConverterContext context)
Parameters
System. The item to be converted. |
Chat The respective Chat |
Returns
ConvertToDataItem(Object, ChatItemConverterContext)
Converts a message to a data item. In general here you need to create an instance of your business object that the Rad
Declaration
object ConvertToDataItem(object message, ChatItemConverterContext context)
Parameters
System. The message to be converted. |
Chat The respective Chat |
Returns
System. The corresponding data item. |