|
| | LCIMChatRoom (LCIMClient client) |
| |
| async Task< int > | GetOnlineMembersCount () |
| |
| async Task< ReadOnlyCollection< string > > | GetOnlineMembers (int limit=50) |
| | Gets online members.
|
| |
| override Task< LCIMPartiallySuccessResult > | AddMembers (IEnumerable< string > clientIds) |
| | Adds members to this conversation.
|
| |
| override Task | Read () |
| | Flags the read status of this conversation. But it is an no-op in LCIMChatRoom.
|
| |
| override Task | FetchReciptTimestamps () |
| | Fetchs the recipt timestamps of this conversation. But it is an no-op in LCIMChatRoom.
|
| |
| async Task< int > | GetMembersCount () |
| | The count of members of this conversation.
|
| |
| async Task | UpdateInfo (Dictionary< string, object > attributes) |
| | Update attributes of this conversation.
|
| |
| async Task< LCIMPartiallySuccessResult > | RemoveMembers (IEnumerable< string > removeIds) |
| | Removes members from this conversation.
|
| |
| async Task | Join () |
| | Joins this conversation.
|
| |
| async Task | Quit () |
| | Leaves this conversation.
|
| |
| async Task< LCIMMessage > | Send (LCIMMessage message, LCIMMessageSendOptions options=null) |
| | Sends a message in this conversation.
|
| |
| async Task | Mute () |
| | Turns off the offline notifications of this conversation.
|
| |
| async Task | Unmute () |
| | Turns on the offline notifications of this conversation.
|
| |
| async Task< LCIMPartiallySuccessResult > | MuteMembers (IEnumerable< string > clientIds) |
| | Mutes members of this conversation.
|
| |
| async Task< LCIMPartiallySuccessResult > | UnmuteMembers (IEnumerable< string > clientIds) |
| | Unmutes members of this conversation.
|
| |
| async Task< LCIMPartiallySuccessResult > | BlockMembers (IEnumerable< string > clientIds) |
| | Adds members to the blocklist of this conversation.
|
| |
| async Task< LCIMPartiallySuccessResult > | UnblockMembers (IEnumerable< string > clientIds) |
| | Removes members from the blocklist of this conversation.
|
| |
| async Task | RecallMessage (LCIMMessage message) |
| | Recalls a sent message.
|
| |
| async Task | UpdateMessage (LCIMMessage oldMessage, LCIMMessage newMessage) |
| | Updates a sent message.
|
| |
| async Task | UpdateMemberRole (string memberId, string role) |
| | Updates the role of a member of this conversation.
|
| |
| async Task< ReadOnlyCollection< LCIMConversationMemberInfo > > | GetAllMemberInfo () |
| | Gets all member roles.
|
| |
| async Task< LCIMConversationMemberInfo > | GetMemberInfo (string memberId) |
| | Gets the role of a specific member.
|
| |
| async Task< LCIMPageResult > | QueryMutedMembers (int limit=10, string next=null) |
| | Queries muted members.
|
| |
| async Task< LCIMPageResult > | QueryBlockedMembers (int limit=10, string next=null) |
| | Queries blocked members.
|
| |
| async Task< ReadOnlyCollection< LCIMMessage > > | QueryMessages (LCIMMessageQueryEndpoint start=null, LCIMMessageQueryEndpoint end=null, LCIMMessageQueryDirection direction=LCIMMessageQueryDirection.NewToOld, int limit=20, int messageType=0) |
| | Retrieves messages.
|
| |
| async Task< LCIMConversation > | Fetch () |
| | Fetch conversation from server.
|
| |
|
| string | Id [get, set] |
| | The ID of this conversation.
|
| |
| bool | Unique [get, set] |
| | Indicates whether this conversation is normal and unique. The uniqueness is based on the members when creating.
|
| |
| string | UniqueId [get, set] |
| | If this conversation is unique, then it will have a unique ID.
|
| |
| string | Name [get, set] |
| | The name of this conversation.
|
| |
| string | CreatorId [get, set] |
| | The creator of this conversation.
|
| |
| ReadOnlyCollection< string > | MemberIds [get] |
| | The members of this conversation.
|
| |
| ReadOnlyCollection< string > | MutedMemberIds [get] |
| | Muted members of this conversation.
|
| |
| int | Unread [get, set] |
| | The count of the unread messages.
|
| |
| LCIMMessage | LastMessage [get, set] |
| | The last message in this conversation.
|
| |
| DateTime | CreatedAt [get, set] |
| | The created date of this conversation.
|
| |
| DateTime | UpdatedAt [get, set] |
| | The last updated date of this conversation.
|
| |
| DateTime | LastMessageAt [get, set] |
| | The date of the last message.
|
| |
| long | LastDeliveredTimestamp [get, set] |
| | The last timestamp of the delivered message.
|
| |
| DateTime | LastDeliveredAt [get] |
| | The last date of the delivered message.
|
| |
| long | LastReadTimestamp [get, set] |
| | The last timestamp of the message which has been read by other clients.
|
| |
| DateTime | LastReadAt [get] |
| | The last date of the message which has been read by other clients.
|
| |
| object | this[string key] [get, set] |
| | Custom attributes.
|
| |
| bool | IsMute [get] |
| | Indicates whether offline notifications about this conversation has been muted.
|
| |
| LCIMClient | Client [get] |
| |
LCIMChatRoom is a local representation of chatroom in LeanCloud.