diff --git a/src/App.php b/src/App.php index f7fa1c3..8c06ad1 100644 --- a/src/App.php +++ b/src/App.php @@ -87,4 +87,14 @@ public function openAtLogin(?bool $open = null): bool return $open; } + + public function isEmojiPanelSupported(): bool + { + return (bool) $this->client->get('app/is-emoji-panel-supported')->json('supported'); + } + + public function showEmojiPanel(): void + { + $this->client->post('app/show-emoji-panel'); + } } diff --git a/src/Facades/App.php b/src/Facades/App.php index 14e42f8..8754580 100644 --- a/src/Facades/App.php +++ b/src/Facades/App.php @@ -17,6 +17,8 @@ * @method static void clearRecentDocuments() * @method static bool isRunningBundled() * @method static bool openAtLogin(?bool $open = null) + * @method static bool isEmojiPanelSupported() + * @method static void showEmojiPanel() */ class App extends Facade {