@open-wa/wa-automate-types-only 4.71.9 → 4.71.11

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.
@@ -1913,6 +1913,23 @@ export declare class Client {
1913
1913
  * @returns `Promise<string | boolean>` returns status id if it worked, false if it didn't
1914
1914
  */
1915
1915
  postTextStatus(text: Content, textRgba: string, backgroundRgba: string, font: number): Promise<MessageId | string | boolean>;
1916
+ /**
1917
+ * {@license:restricted@}
1918
+ *
1919
+ * Sends a formatted text story with a thumbnail.
1920
+ * @param url The URL to share in the story
1921
+ * @param text The text to be displayed in the story
1922
+ * @param textRgba The colour of the text in the story in hex format, make sure to add the alpha value also. E.g "#FF00F4F2"
1923
+ * @param backgroundRgba The colour of the background in the story in hex format, make sure to add the alpha value also. E.g "#4FF31FF2"
1924
+ * @param font The font of the text to be used in the story. This has to be a number. Each number refers to a specific predetermined font. Here are the fonts you can choose from:
1925
+ * @param thumbnail base64 thumbnail override, if not provided the link server will try to figure it out.
1926
+ * 0: Sans Serif
1927
+ * 1: Serif
1928
+ * 2: [Norican Regular](https://fonts.google.com/specimen/Norican)
1929
+ * 3: [Bryndan Write](https://www.dafontfree.net/freefonts-bryndan-write-f160189.htm)
1930
+ * @returns `Promise<MessageId>` returns status id if it worked, false if it didn't
1931
+ */
1932
+ postThumbnailStatus(url: string, text: Content, textRgba: string, backgroundRgba: string, font: number, thumbnail?: Base64): Promise<MessageId>;
1916
1933
  /**
1917
1934
  * {@license:restricted@}
1918
1935
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.71.9",
3
+ "version": "4.71.11",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",