Sendbird Chat SDK for Unity
SbFileMessage

Object representing a file. More...

Inheritance diagram for SbFileMessage:
SbBaseMessage SbBaseMessage

Properties

string Url [get]
 The file URL. If the file encryption feature is enabled, this will have SendbirdChat.EKey combined with the plainUrl so the file can be accessed. For caching the file, it is recommended to use plainUrl as the key of the file cache. More...
 
string PlainUrl [get]
 The plain file URL, which does not contain SendbirdChat.EKey as a parameter. If the file encryption feature is enabled, accessing this plainUrl will be denied. More...
 
string Name [get]
 Represents the name of the file. More...
 
int Size [get]
 Represents the size of the file. More...
 
string Type [get]
 Represents the type of the file. MIME preferred. More...
 
IReadOnlyList< SbThumbnailThumbnails [get]
 Represents the thumbnail information of image file. To make thumbnail of image when you send it. More...
 
- Properties inherited from SbBaseMessage
IReadOnlyList< SbMessageMetaArrayMetaArrays [get]
 All SbMessageMetaArray of the message. More...
 
SbAppleCriticalAlertOptions AppleCriticalAlertOptions [get]
 The apple critical alert options of the message. More...
 
SbChannelType ChannelType [get]
 The SbChannelType of the channel this message belongs to. More...
 
string ChannelUrl [get]
 The channel URL of the channel this message belongs to. More...
 
long CreatedAt [get]
 The creation time of the message in milliseconds. More...
 
string CustomType [get]
 The custom type of the message. More...
 
string Data [get]
 The custom data of the message. More...
 
int ErrorCode [get]
 The error code of them message if the sendingStatus is SbSendingStatus.Failed. More...
 
IDictionary< string, string > ExtendedMessage [get]
 The template for the message. More...
 
SbSendingStatus SendingStatus [get]
 The sending status of the message. More...
 
bool IsGroupChannel [get]
 Whether this message is from SbGroupChannel. More...
 
bool IsOpenChannel [get]
 Whether this message is from SbOpenChannel. More...
 
bool IsFeedChannel [get]
 Whether this message is from SbFeedChannel. More...
 
bool IsOperatorMessage [get]
 Whether the message was sent from an operator. More...
 
bool IsReplyToChannel [get]
 Determines whether the current message is a replied message and also a message was replied to the channel. More...
 
bool IsSilent [get]
 Checks whether the message is silent or not. More...
 
string MentionedMessageTemplate [get]
 The mentioned message template of the message. More...
 
IReadOnlyList< SbUserMentionedUsers [get]
 
SbMentionType MentionType [get]
 The mentioned users of the message. More...
 
string Message [get]
 The message text of the message. More...
 
SbBaseMessageCreateParams MessageCreateParams [get]
 The SbBaseMessageCreateParams object that used for sending this message For more details, Please refer SbUserMessage.MessageCreateParams, SbFileMessage.MessageCreateParams More...
 
long MessageId [get]
 The ID of the message. More...
 
int MessageSurvivalSeconds [get]
 The message's survival seconds. More...
 
SbOgMetaData OgMetaData [get]
 The SbOgMetaData of the message. More...
 
SbBaseMessage ParentMessage [get]
 
long ParentMessageId [get]
 The parent message of this message. Only NonNull if this message is a reply message. It does not contain all properties of the parent message. More...
 
IReadOnlyList< SbReactionReactions [get]
 The reactions on the message. More...
 
string RequestId [get]
 The request ID of the message. More...
 
SbThreadInfo ThreadInfo [get]
 The thread info of the message. More...
 
long UpdatedAt [get]
 The updated time of the message in milliseconds. More...
 
SbSender Sender [get]
 The Sender of the message. If SendbirdChat.Options.UseMemberInfoInMessage is set true and this message belongs to a GroupChannel (not a super group channel), the sender information, such as nickname and profile url, is returned as the same with the GroupChannel.members. Otherwise, the sender information will be returned as the value of the message creation time. More...
 

Additional Inherited Members

- Public Member Functions inherited from SbBaseMessage
bool ApplyReactionEvent (SbReactionEvent inReactionEvent)
 
bool ApplyThreadInfoUpdateEvent (SbThreadInfoUpdateEvent inThreadInfoUpdateEvent)
 Applies SbThreadInfoUpdateEvent to a message. More...
 
bool IsResendable ()
 Whether the message is resendable. More...
 
void GetThreadedMessagesByTimestamp (long inTimestamp, SbThreadedMessageListParams inParams, SbThreadedMessageListHandler inCompletionHandler)
 Retrieves the threaded replies of the current message depending on the timestamp. If the current message doesnt have replies, the result is an empty list. The result is passed to handler as list. More...
 

Detailed Description

Object representing a file.

Since
4.0.0

Property Documentation

◆ Name

string Name
get

Represents the name of the file.

Since
4.0.0

◆ PlainUrl

string PlainUrl
get

The plain file URL, which does not contain SendbirdChat.EKey as a parameter. If the file encryption feature is enabled, accessing this plainUrl will be denied.

Since
4.0.0

◆ Size

int Size
get

Represents the size of the file.

Since
4.0.0

◆ Thumbnails

IReadOnlyList<SbThumbnail> Thumbnails
get

Represents the thumbnail information of image file. To make thumbnail of image when you send it.

Since
4.0.0

◆ Type

string Type
get

Represents the type of the file. MIME preferred.

Since
4.0.0

◆ Url

string Url
get

The file URL. If the file encryption feature is enabled, this will have SendbirdChat.EKey combined with the plainUrl so the file can be accessed. For caching the file, it is recommended to use plainUrl as the key of the file cache.

Since
4.0.0