Sendbird Chat SDK for Unity
SbFileMessageCreateParams

Represents a file message params. More...

Inheritance diagram for SbFileMessageCreateParams:
SbBaseMessageCreateParams SbBaseMessageCreateParams

Public Member Functions

 SbFileMessageCreateParams (string inFileUrl)
 
 SbFileMessageCreateParams (SbFileInfo inFile)
 

Properties

SbFileInfo File [get, set]
 The SbFileInfo object of the message. Defaults to null. If FileUrl was set after, this will be reset to null. More...
 
string FileUrl [get, set]
 The file's url of the message. Defaults to null. If File was set after, this will be reset to null. More...
 
string FileName [get, set]
 The file's name of the messages. Defaults to null. More...
 
int FileSize [get, set]
 The file's size of the messages. More...
 
string MimeType [get, set]
 The file's mime type of the messages. Defaults to null. More...
 
List< SbThumbnailSizeThumbnailSizes [get, set]
 The file's thumbnail sizes of the messages. Defaults to null. More...
 
- Properties inherited from SbBaseMessageCreateParams
SbAppleCriticalAlertOptions AppleCriticalAlertOptions [get, set]
 The apple critical alert options of the message. More...
 
string CustomType [get, set]
 The custom type of the message. More...
 
string Data [get, set]
 The data of the message. More...
 
bool IsPinnedMessage [get, set]
 Whether the message should be pinned to the channel. Defaults to false. More...
 
List< SbMessageMetaArrayMetaArrays [get, set]
 The meta arrays of the message. More...
 
long ParentMessageId [get, set]
 The parent message id of the message. More...
 
SbPushNotificationDeliveryOption PushNotificationDeliveryOption [get, set]
 The push notification delivery option user of the message. More...
 
bool ReplyToChannel [get, set]
 Whether the message should also be sent to the channel. Defaults to false. Only works when the ParentMessageId is set. More...
 
SbMentionType MentionType [get, set]
 The mention type of the message. Defaults to SbMentionType.Users. More...
 
List< string > MentionedUserIds [get, set]
 The mentioned user ids of the message. If it hasn't set before, it returns null. More...
 

Detailed Description

Represents a file message params.

Since
4.0.0

Constructor & Destructor Documentation

◆ SbFileMessageCreateParams() [1/2]

SbFileMessageCreateParams ( string  inFileUrl)
Since
4.0.0

◆ SbFileMessageCreateParams() [2/2]

Since
4.0.0

Property Documentation

◆ File

SbFileInfo File
getset

The SbFileInfo object of the message. Defaults to null. If FileUrl was set after, this will be reset to null.

Since
4.0.0

◆ FileName

string FileName
getset

The file's name of the messages. Defaults to null.

Since
4.0.0

◆ FileSize

int FileSize
getset

The file's size of the messages.

Since
4.0.0

◆ FileUrl

string FileUrl
getset

The file's url of the message. Defaults to null. If File was set after, this will be reset to null.

Since
4.0.0

◆ MimeType

string MimeType
getset

The file's mime type of the messages. Defaults to null.

Since
4.0.0

◆ ThumbnailSizes

List<SbThumbnailSize> ThumbnailSizes
getset

The file's thumbnail sizes of the messages. Defaults to null.

Since
4.0.0