LeanCloud C# SDK
Public Member Functions | Properties | List of all members
LeanCloud.Realtime.LCIMTemporaryConversation Class Reference
Inheritance diagram for LeanCloud.Realtime.LCIMTemporaryConversation:
Inheritance graph
[legend]
Collaboration diagram for LeanCloud.Realtime.LCIMTemporaryConversation:
Collaboration graph
[legend]

Public Member Functions

 LCIMTemporaryConversation (LCIMClient client)
 
- Public Member Functions inherited from LeanCloud.Realtime.LCIMConversation
async Task< int > GetMembersCount ()
 The count of members of this conversation. More...
 
virtual async Task Read ()
 Mark the last message of this conversation as read. More...
 
async Task UpdateInfo (Dictionary< string, object > attributes)
 Update attributes of this conversation. More...
 
virtual async Task< LCIMPartiallySuccessResultAddMembers (IEnumerable< string > clientIds)
 Adds members to this conversation. More...
 
async Task< LCIMPartiallySuccessResultRemoveMembers (IEnumerable< string > removeIds)
 Removes members from this conversation. More...
 
async Task Join ()
 Joins this conversation. More...
 
async Task Quit ()
 Leaves this conversation. More...
 
async Task< LCIMMessageSend (LCIMMessage message, LCIMMessageSendOptions options=null)
 Sends a message in this conversation. More...
 
async Task Mute ()
 Turns off the offline notifications of this conversation. More...
 
async Task Unmute ()
 Turns on the offline notifications of this conversation. More...
 
async Task< LCIMPartiallySuccessResultMuteMembers (IEnumerable< string > clientIds)
 Mutes members of this conversation. More...
 
async Task< LCIMPartiallySuccessResultUnmuteMembers (IEnumerable< string > clientIds)
 Unmutes members of this conversation. More...
 
async Task< LCIMPartiallySuccessResultBlockMembers (IEnumerable< string > clientIds)
 Adds members to the blocklist of this conversation. More...
 
async Task< LCIMPartiallySuccessResultUnblockMembers (IEnumerable< string > clientIds)
 Removes members from the blocklist of this conversation. More...
 
async Task RecallMessage (LCIMMessage message)
 Recalls a sent message. More...
 
async Task UpdateMessage (LCIMMessage oldMessage, LCIMMessage newMessage)
 Updates a sent message. More...
 
async Task UpdateMemberRole (string memberId, string role)
 Updates the role of a member of this conversation. More...
 
async Task< ReadOnlyCollection< LCIMConversationMemberInfo > > GetAllMemberInfo ()
 Gets all member roles. More...
 
async Task< LCIMConversationMemberInfoGetMemberInfo (string memberId)
 Gets the role of a specific member. More...
 
async Task< LCIMPageResultQueryMutedMembers (int limit=10, string next=null)
 Queries muted members. More...
 
async Task< LCIMPageResultQueryBlockedMembers (int limit=10, string next=null)
 Queries blocked members. More...
 
async Task< ReadOnlyCollection< LCIMMessage > > QueryMessages (LCIMMessageQueryEndpoint start=null, LCIMMessageQueryEndpoint end=null, LCIMMessageQueryDirection direction=LCIMMessageQueryDirection.NewToOld, int limit=20, int messageType=0)
 Retrieves messages. More...
 
virtual async Task FetchReciptTimestamps ()
 Fetches receipt timestamp. More...
 
async Task< LCIMConversationFetch ()
 Fetch conversation from server. More...
 

Properties

DateTime ExpiredAt [get]
 
bool IsExpired [get]
 
- Properties inherited from LeanCloud.Realtime.LCIMConversation
string Id [get, set]
 The ID of this conversation More...
 
bool Unique [get, set]
 Indicates whether this conversation is normal and unique. The uniqueness is based on the members when creating. More...
 
string UniqueId [get, set]
 If this conversation is unique, then it will have a unique ID. More...
 
string Name [get, set]
 The name of this conversation. More...
 
string CreatorId [get, set]
 The creator of this conversation. More...
 
ReadOnlyCollection< string > MemberIds [get]
 The members of this conversation. More...
 
ReadOnlyCollection< string > MutedMemberIds [get]
 Muted members of this conversation. More...
 
int Unread [get, set]
 The count of the unread messages. More...
 
LCIMMessage LastMessage [get, set]
 The last message in this conversation. More...
 
DateTime CreatedAt [get, set]
 The created date of this conversation. More...
 
DateTime UpdatedAt [get, set]
 The last updated date of this conversation. More...
 
long LastDeliveredTimestamp [get, set]
 The last timestamp of the delivered message. More...
 
DateTime LastDeliveredAt [get]
 The last date of the delivered message. More...
 
long LastReadTimestamp [get, set]
 The last timestamp of the message which has been read by other clients. More...
 
DateTime LastReadAt [get]
 The last date of the message which has been read by other clients. More...
 
object this[string key] [get, set]
 Custom attributes. More...
 
bool IsMute [get]
 Indicates whether offline notifications about this conversation has been muted. More...
 
LCIMClient Client [get]
 

Constructor & Destructor Documentation

LeanCloud.Realtime.LCIMTemporaryConversation.LCIMTemporaryConversation ( LCIMClient  client)
inline

Property Documentation

DateTime LeanCloud.Realtime.LCIMTemporaryConversation.ExpiredAt
get
bool LeanCloud.Realtime.LCIMTemporaryConversation.IsExpired
get

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