Skip to content

Commit

Permalink
✨ feat: sending text, image and video stories now enabled for restric…
Browse files Browse the repository at this point in the history
…ted license holders #3173
  • Loading branch information
smashah committed Feb 19, 2024
1 parent 7c56729 commit 705a232
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions src/api/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4195,15 +4195,7 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
*
* :::danger
*
* Status features are broken for now. Please join our discord community for updates.
*
* :::
*
* [REQUIRES A TEXT STORY LICENSE-KEY](https://gum.co/open-wa)
* {@license:restricted@}
*
* Sends a formatted text story.
* @param text The text to be displayed in the story
Expand All @@ -4226,15 +4218,7 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
*
* :::danger
*
* Status features are broken for now. Please join our discord community for updates.
*
* :::
*
* [REQUIRES AN IMAGE STORY LICENSE-KEY](https://gum.co/open-wa)
* {@license:restricted@}
*
* Posts an image story.
* @param data data url string `data:[<MIME-type>][;charset=<encoding>][;base64],<data>`
Expand All @@ -4249,15 +4233,7 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
*
* :::danger
*
* Status features are broken for now. Please join our discord community for updates.
*
* :::
*
* [REQUIRES A VIDEO STORY LICENSE-KEY](https://gum.co/open-wa)
* {@license:restricted@}
*
* Posts a video story.
* @param data data url string `data:[<MIME-type>][;charset=<encoding>][;base64],<data>`
Expand Down Expand Up @@ -4288,7 +4264,6 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
* Alias for deleteStory
*/
public async deleteStatus(statusesToDelete: string | string []) : Promise<boolean> {
Expand All @@ -4306,7 +4281,6 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
* Alias for deleteStory
*/
public async deleteAllStatus() : Promise<boolean> {
Expand All @@ -4325,7 +4299,6 @@ public async getStatus(contactId: ContactId) : Promise<{
}

/**
* @deprecated
* Alias for deleteStory
*/
public async getMyStatusArray() : Promise<Message[]> {
Expand Down

0 comments on commit 705a232

Please sign in to comment.