LeanCloud C# SDK
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
LeanCloud.Realtime.LCIMFileMessage Class Reference

LCIMFileMessage is a local representation of file message in LeanCloud. More...

Inheritance diagram for LeanCloud.Realtime.LCIMFileMessage:
LeanCloud.Realtime.LCIMTextMessage LeanCloud.Realtime.LCIMTypedMessage LeanCloud.Realtime.LCIMMessage LeanCloud.Realtime.LCIMAudioMessage LeanCloud.Realtime.LCIMImageMessage LeanCloud.Realtime.LCIMVideoMessage

Public Member Functions

 LCIMFileMessage (LCFile file)
 
- Public Member Functions inherited from LeanCloud.Realtime.LCIMTextMessage
 LCIMTextMessage (string text)
 

Properties

LCFile File [get, set]
 
int Size [get]
 The size of the file in bytes.
 
string Format [get]
 The format extension of the file.
 
string Url [get]
 The URL of the file.
 
override int MessageType [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMTextMessage
string Text [get, set]
 
override int MessageType [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMTypedMessage
virtual int MessageType [get]
 
object this[string key] [get, set]
 Gets message attributes.
 
- Properties inherited from LeanCloud.Realtime.LCIMMessage
string ConversationId [get, set]
 The conversation ID this message belongs to.
 
string Id [get, set]
 The ID of this message.
 
string FromClientId [get, set]
 The ID of the client who sends this message.
 
long SentTimestamp [get, set]
 The timestamp of this message.
 
DateTime SentAt [get]
 The sending date of this message.
 
long DeliveredTimestamp [get, set]
 送达时间戳
 
DateTime DeliveredAt [get]
 The delivered date of this message.
 
long ReadTimestamp [get, set]
 The timestamp when this message has been read by others.
 
DateTime ReadAt [get]
 When this message has been read by others.
 
long PatchedTimestamp [get, set]
 The timestamp when this message is updated.
 
DateTime PatchedAt [get]
 When this message is updated.
 
List< string > MentionIdList [get, set]
 The members in the conversation mentioned by this message.
 
bool MentionAll [get, set]
 Whether all members in the conversation are mentioned by this message.
 
bool Mentioned [get, set]
 Whether the current user has been mentioned in this message.
 

Additional Inherited Members

- Static Public Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage
static void Register< T > (int msgType, Func< T > msgConstructor)
 Registers a custom message type.
 
- Static Public Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
const int TextMessageType = -1
 
const int ImageMessageType = -2
 
const int AudioMessageType = -3
 
const int VideoMessageType = -4
 
const int LocationMessageType = -5
 
const int FileMessageType = -6
 
const int RecalledMessageType = -127
 
- Protected Member Functions inherited from LeanCloud.Realtime.LCIMTypedMessage
 LCIMTypedMessage ()
 
- Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
Dictionary< string, object > data = new Dictionary<string, object>()
 Complete data of message.
 
- Static Protected Attributes inherited from LeanCloud.Realtime.LCIMTypedMessage
const string MessageTypeKey = "_lctype"
 Preserved fields.
 
const string MessageAttributesKey = "_lcattrs"
 
const string MessageTextKey = "_lctext"
 
const string MessageLocationKey = "_lcloc"
 
const string MessageFileKey = "_lcfile"
 
const string MessageDataLongitudeKey = "longitude"
 
const string MessageDataLatitudeKey = "latitude"
 
const string MessageDataObjectIdKey = "objId"
 
const string MessageDataUrlKey = "url"
 
const string MessageDataMetaDataKey = "metaData"
 
const string MessageDataMetaNameKey = "name"
 
const string MessageDataMetaFormatKey = "format"
 
const string MessageDataMetaSizeKey = "size"
 
const string MessageDataMetaWidthKey = "width"
 
const string MessageDataMetaHeightKey = "height"
 
const string MessageDataMetaDurationKey = "duration"
 

Detailed Description

LCIMFileMessage is a local representation of file message in LeanCloud.

Constructor & Destructor Documentation

◆ LCIMFileMessage()

LeanCloud.Realtime.LCIMFileMessage.LCIMFileMessage ( LCFile  file)
inline

Property Documentation

◆ File

LCFile LeanCloud.Realtime.LCIMFileMessage.File
getset

◆ Format

string LeanCloud.Realtime.LCIMFileMessage.Format
get

The format extension of the file.

◆ MessageType

override int LeanCloud.Realtime.LCIMFileMessage.MessageType
get

◆ Size

int LeanCloud.Realtime.LCIMFileMessage.Size
get

The size of the file in bytes.

◆ Url

string LeanCloud.Realtime.LCIMFileMessage.Url
get

The URL of the file.


The documentation for this class was generated from the following file: