Skip to content

Commit

Permalink
feat: introduce minimize
Browse files Browse the repository at this point in the history
affects: @userlike/messenger-internal
  • Loading branch information
anilanar committed Aug 31, 2020
1 parent f35680e commit e803a17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/messenger-internal/src/v1/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ export interface ApiActions {
*/
maximize(): Promise<ActionResult<string, void>>;

/**
* Simulate as if the contact clicked the minimize button.
*/
minimize(): Promise<ActionResult<string, void>>;

/**
* Set custom data.
*/
Expand Down

0 comments on commit e803a17

Please sign in to comment.