easemob-websdk 4.22.0 → 4.23.0
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/Easemob-chat.d.ts +36 -0
- package/Easemob-chat.js +1 -1
- package/message/audio.d.ts +2 -0
- package/message/cmd.d.ts +4 -0
- package/message/combine.d.ts +4 -0
- package/message/custom.d.ts +4 -0
- package/message/file.d.ts +2 -0
- package/message/img.d.ts +2 -0
- package/message/text.d.ts +4 -0
- package/message/video.d.ts +2 -0
- package/miniCore/miniCore.js +1 -1
- package/miniProgram/Easemob-chat.js +1 -1
- package/package.json +1 -1
- package/types/message.d.ts +34 -0
- package/uniApp/Easemob-chat.js +1 -1
- package/circleSdk/Easemob-chat.d.ts +0 -8066
- package/circleSdk/Easemob-chat.js +0 -1
package/message/audio.d.ts
CHANGED
|
@@ -159,6 +159,8 @@ export interface CreateAudioMsgParameters {
|
|
|
159
159
|
deliverOnlineOnly?: boolean;
|
|
160
160
|
/** The list of message recipients. */
|
|
161
161
|
receiverList?: string[];
|
|
162
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
163
|
+
webhookEnv?: string;
|
|
162
164
|
}
|
|
163
165
|
export declare class Audio {
|
|
164
166
|
id: string;
|
package/message/cmd.d.ts
CHANGED
|
@@ -83,6 +83,8 @@ export interface CmdMsgBody {
|
|
|
83
83
|
deliverOnlineOnly?: boolean;
|
|
84
84
|
/** The list of message recipients. */
|
|
85
85
|
receiverList?: string[];
|
|
86
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
87
|
+
webhookEnv?: string;
|
|
86
88
|
/** Has the message been read (only single chat messages have this field). */
|
|
87
89
|
isRead?: boolean;
|
|
88
90
|
/** Has the message been delivered (only single chat messages have this field). */
|
|
@@ -120,6 +122,8 @@ export interface CreateCmdMsgParameters {
|
|
|
120
122
|
deliverOnlineOnly?: boolean;
|
|
121
123
|
/** The list of message recipients. */
|
|
122
124
|
receiverList?: string[];
|
|
125
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
126
|
+
webhookEnv?: string;
|
|
123
127
|
}
|
|
124
128
|
export declare class Cmd {
|
|
125
129
|
id: string;
|
package/message/combine.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export interface CombineMsgBody {
|
|
|
54
54
|
deliverOnlineOnly?: boolean;
|
|
55
55
|
/** The list of message recipients. */
|
|
56
56
|
receiverList?: string[];
|
|
57
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
58
|
+
webhookEnv?: string;
|
|
57
59
|
/** The compatibility information for combining message. */
|
|
58
60
|
compatibleText: string;
|
|
59
61
|
/** The title of the combined message. */
|
|
@@ -102,6 +104,8 @@ export interface CreateCombineMsgParameters {
|
|
|
102
104
|
deliverOnlineOnly?: boolean;
|
|
103
105
|
/** The list of message recipients. */
|
|
104
106
|
receiverList?: string[];
|
|
107
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
108
|
+
webhookEnv?: string;
|
|
105
109
|
/** The compatible text of the combined message. */
|
|
106
110
|
compatibleText: string;
|
|
107
111
|
/** The title of the combined message. */
|
package/message/custom.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export interface CustomMsgBody extends CreateCustomMsgParameters {
|
|
|
68
68
|
* - (Default) `false`: The message is delivered when the recipient(s) is/are online. If the recipient(s) is/are offline, the message will not be delivered to them until they get online.
|
|
69
69
|
*/
|
|
70
70
|
deliverOnlineOnly?: boolean;
|
|
71
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
72
|
+
webhookEnv?: string;
|
|
71
73
|
/** Message modified info. */
|
|
72
74
|
modifiedInfo?: ModifiedMsgInfo;
|
|
73
75
|
/** Has the message been read (only single chat messages have this field). */
|
|
@@ -109,6 +111,8 @@ export interface CreateCustomMsgParameters {
|
|
|
109
111
|
deliverOnlineOnly?: boolean;
|
|
110
112
|
/** The list of message recipients. */
|
|
111
113
|
receiverList?: string[];
|
|
114
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
115
|
+
webhookEnv?: string;
|
|
112
116
|
}
|
|
113
117
|
export declare class Custom {
|
|
114
118
|
id: string;
|
package/message/file.d.ts
CHANGED
|
@@ -149,6 +149,8 @@ export interface CreateFileMsgParameters {
|
|
|
149
149
|
deliverOnlineOnly?: boolean;
|
|
150
150
|
/** The list of message recipients. */
|
|
151
151
|
receiverList?: string[];
|
|
152
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
153
|
+
webhookEnv?: string;
|
|
152
154
|
}
|
|
153
155
|
export declare class FileMsg {
|
|
154
156
|
id: string;
|
package/message/img.d.ts
CHANGED
|
@@ -170,6 +170,8 @@ export interface CreateImgMsgParameters {
|
|
|
170
170
|
deliverOnlineOnly?: boolean;
|
|
171
171
|
/** The list of message recipients. */
|
|
172
172
|
receiverList?: string[];
|
|
173
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
174
|
+
webhookEnv?: string;
|
|
173
175
|
/** The thumbnail width. */
|
|
174
176
|
thumbnailWidth?: number;
|
|
175
177
|
/** The thumbnail height. */
|
package/message/text.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export interface TextMsgBody {
|
|
|
84
84
|
deliverOnlineOnly?: boolean;
|
|
85
85
|
/** The list of message recipients. */
|
|
86
86
|
receiverList?: string[];
|
|
87
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
88
|
+
webhookEnv?: string;
|
|
87
89
|
/** Message modified info. */
|
|
88
90
|
modifiedInfo?: ModifiedMsgInfo;
|
|
89
91
|
/** Has the message been read (only single chat messages have this field). */
|
|
@@ -122,6 +124,8 @@ export interface CreateTextMsgParameters {
|
|
|
122
124
|
deliverOnlineOnly?: boolean;
|
|
123
125
|
/** The list of message recipients. */
|
|
124
126
|
receiverList?: string[];
|
|
127
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
128
|
+
webhookEnv?: string;
|
|
125
129
|
}
|
|
126
130
|
export declare class Text {
|
|
127
131
|
id: string;
|
package/message/video.d.ts
CHANGED
|
@@ -156,6 +156,8 @@ export interface CreateVideoMsgParameters {
|
|
|
156
156
|
deliverOnlineOnly?: boolean;
|
|
157
157
|
/** The list of message recipients. */
|
|
158
158
|
receiverList?: string[];
|
|
159
|
+
/** The webhookEnv field in the sending message protocol. */
|
|
160
|
+
webhookEnv?: string;
|
|
159
161
|
}
|
|
160
162
|
export declare class Video {
|
|
161
163
|
id: string;
|