@tencentcloud/lite-chat 4.1.2 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/basic.d.ts +30 -2
- package/basic.es.js +1 -1
- package/basic.js +1 -1
- package/index.d.ts +30 -2
- package/package.json +1 -1
- package/plugins/avchatroom.es.js +1 -1
- package/plugins/avchatroom.js +1 -1
- package/plugins/cloud-search.es.js +1 -1
- package/plugins/cloud-search.js +1 -1
- package/plugins/conversation-group.es.js +1 -1
- package/plugins/conversation-group.js +1 -1
- package/plugins/conversation.es.js +1 -1
- package/plugins/conversation.js +1 -1
- package/plugins/follow.es.js +1 -1
- package/plugins/follow.js +1 -1
- package/plugins/friend.es.js +1 -1
- package/plugins/friend.js +1 -1
- package/plugins/group.es.js +1 -1
- package/plugins/group.js +1 -1
- package/plugins/message-enhancer.es.js +1 -1
- package/plugins/message-enhancer.js +1 -1
- package/plugins/offline-message-synchronizer.es.js +1 -1
- package/plugins/offline-message-synchronizer.js +1 -1
- package/plugins/rich-media-message.es.js +1 -1
- package/plugins/rich-media-message.js +1 -1
- package/plugins/signaling.es.js +1 -1
- package/plugins/signaling.js +1 -1
- package/plugins/topic.es.js +1 -1
- package/plugins/topic.js +1 -1
- package/professional.d.ts +30 -2
- package/professional.es.js +1 -1
- package/professional.js +1 -1
- package/standard.es.js +1 -1
- package/standard.js +1 -1
package/basic.d.ts
CHANGED
|
@@ -610,6 +610,12 @@ declare interface LOGIN_OPTIONS {
|
|
|
610
610
|
*/
|
|
611
611
|
type?: TencentCloudChat.TYPES;
|
|
612
612
|
}
|
|
613
|
+
|
|
614
|
+
declare interface PIN_GROUP_MESSAGE_OPTIONS {
|
|
615
|
+
groupID: string;
|
|
616
|
+
message: Message;
|
|
617
|
+
isPinned: boolean;
|
|
618
|
+
}
|
|
613
619
|
|
|
614
620
|
declare interface CHANGE_GROUP_OWNER_OPTIONS {
|
|
615
621
|
groupID: string;
|
|
@@ -2134,6 +2140,18 @@ declare interface LOGIN_OPTIONS {
|
|
|
2134
2140
|
* - A group owner can only leave work groups. After the group owner leaves a work group, the work group has no group owner.
|
|
2135
2141
|
*/
|
|
2136
2142
|
quitGroup(groupID: string): Promise<any>
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* Pin group message.
|
|
2146
|
+
* - Group members can pin group messages.
|
|
2147
|
+
*/
|
|
2148
|
+
pinGroupMessage(options: PIN_GROUP_MESSAGE_OPTIONS): Promise<any>
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Get Pinned group messages.
|
|
2152
|
+
* - Users can get pinned group messages by groupID.
|
|
2153
|
+
*/
|
|
2154
|
+
getPinnedGroupMessageList(groupID: string): Promise<any>
|
|
2137
2155
|
|
|
2138
2156
|
/**
|
|
2139
2157
|
* Search for a group by groupID.
|
|
@@ -2560,6 +2578,11 @@ declare interface LOGIN_OPTIONS {
|
|
|
2560
2578
|
* This event is triggered when the all receiving message option changes.
|
|
2561
2579
|
*/
|
|
2562
2580
|
ALL_RECEIVE_MESSAGE_OPT_UPDATED = 'onAllReceiveMessageOptUpdated',
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* This event is triggered when group members pin or unpin the group messages.
|
|
2584
|
+
*/
|
|
2585
|
+
PINNED_GROUP_MESSAGE_UPDATED = 'onPinnedGroupMessageUpdated',
|
|
2563
2586
|
}
|
|
2564
2587
|
|
|
2565
2588
|
enum TYPES {
|
|
@@ -2668,9 +2691,9 @@ declare interface LOGIN_OPTIONS {
|
|
|
2668
2691
|
|
|
2669
2692
|
CONV_MARK_TYPE_UNREAD = 0x2,
|
|
2670
2693
|
|
|
2671
|
-
CONV_MARK_TYPE_FOLD =
|
|
2694
|
+
CONV_MARK_TYPE_FOLD = 0x4,
|
|
2672
2695
|
|
|
2673
|
-
CONV_MARK_TYPE_HIDE =
|
|
2696
|
+
CONV_MARK_TYPE_HIDE = 0x8,
|
|
2674
2697
|
|
|
2675
2698
|
/**
|
|
2676
2699
|
* Group type: work group
|
|
@@ -2906,6 +2929,11 @@ declare interface LOGIN_OPTIONS {
|
|
|
2906
2929
|
* Group profile: group joining option
|
|
2907
2930
|
*/
|
|
2908
2931
|
GRP_PROFILE_JOIN_OPTION = 'joinOption',
|
|
2932
|
+
GRP_PROFILE_INVITE_OPTION = 'inviteOption',
|
|
2933
|
+
INVITE_OPTIONS_DISABLE_INVITE = 'DisableInvite',
|
|
2934
|
+
INVITE_OPTIONS_NEED_PERMISSION = 'NeedPermission',
|
|
2935
|
+
INVITE_OPTIONS_FREE_ACCESS = 'FreeAccess',
|
|
2936
|
+
|
|
2909
2937
|
|
|
2910
2938
|
/**
|
|
2911
2939
|
* Group profile: group introduction
|