@vonage/client-sdk 1.2.1-beta.7 → 1.2.1-snapshot.35.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.
@@ -37,6 +37,7 @@ export type CallSayParams = Partial<vonage.CallSayParams> & {
37
37
  };
38
38
  export type CallDisconnectReason = vonage.CallDisconnectReasonJS;
39
39
  export declare const CallDisconnectReason: typeof vonage.CallDisconnectReasonJS;
40
+ export type RtcStats = vonage.RTCStatsJS;
40
41
  type JSONValue = string | number | boolean | {
41
42
  [x: string]: JSONValue;
42
43
  } | JSONValue[];
@@ -332,6 +333,19 @@ export declare class VonageClient extends vonage.CombinedClientJS {
332
333
  * @returns the `timestamp` of the message
333
334
  */
334
335
  sendMessageCustomEvent(id: string, customData: JSONValue): Promise<string>;
336
+ /**
337
+ * Send a Image message to a Conversation.
338
+ *
339
+ * @example
340
+ * [[include: snippet_SendImageMessage.txt]]
341
+ *
342
+ * @group Chat
343
+ * @beta
344
+ * @param id - the Conversation's id
345
+ * @param imageUrl - the url of the image resource.
346
+ * @returns the `timestamp` of the message
347
+ */
348
+ sendMessageImageEvent(id: string, imageUrl: URL): Promise<string>;
335
349
  /**
336
350
  * Send an ephemeral event to a Conversation
337
351
  *