ChatAttachment
Class
Represents an attachment in a ChatAttachmentsMessage.
Definition
Namespace:Telerik.Maui.Controls.Chat
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class ChatAttachment : NotifyPropertyChangedBase, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseChatAttachment
Implements:
Inherited Members
Constructors
Initializes a new instance of the class.
C#
public ChatAttachment()
Properties
Gets or sets some custom information about the particular item. The RadChat does not use this property anywhere, use this to carry a payload of information for your convenience.
C#
public object Data { get; set; }
Gets or sets the short file name of the attachment that will be displayed in the message.
C#
public string FileName { get; set; }
Gets or sets the func that provides a stream of the attachment.
C#
public Func<Task<Stream>> GetFileStream { get; set; }
Gets or sets the func that provides a file for sharing.
C#
public Func<Task<ShareFile>> GetShareFile { get; set; }