宇宙での新たなゲスト通知

Please Note: This is a Workaround

SpatialChatには、新しいメンバーがあなたのスペースに参加したことを管理者に通知する仕組みがまだありません。

But you can create a virtual BELL! When your guests click on it, you will receive an alert. I will give an example of how to do it using third-party services. In my example, you can only get by with the Telegram service. But for the sake of simplicity, I will use the optional Integromat service.

Telegram
Integromat
SpatialChat

テレグラム

So, first, you need Telegram. There we need to refer to @BotFather and click Start. Enter the command /newbot and follow the instructions. This is where we need to save the token of your new bot.

mceclip0.png

次に、新しいグループチャットを作成し、そこにボットを追加します。

mceclip1.png

Next, we need to find out the ID of your group chat. To do this, add another bot @myidbot and write the command /getgroupid@myidbot. Save the received ID. After that, @myidbot can be removed from the group.

インテグロマット

Go to the second service https://www.integromat.com. After entering your personal account, click the "Create new scenario" button and select Webhooks and Telegram bot.

The first event in our chain of actions will be the Custom Webhook. Create a new webhook and name it "SpatialChat_BELL_hook" for example.

mceclip3.png

You will need this link too. Save it. Follow this link in a new tab. This is the link we will use in SpatialChat for notifications.

チェーンにもう1つアクションを追加します。Telegram - テキストメッセージまたは返信を送信します。

mceclip4.png

また、便宜上、通知文に自分のスペースへのリンクを追加することも可能です。

このボタンでスクリプトをオンにすることを忘れないでください。

mceclip5.png

SpatialChat

All you have to do is let your guests go to the link that we created in Integromat. If you have not saved it earlier, then go to your script and click on the "Custom webhook" action.

このリンクは、テキストブロックとしてデザインすることも、QRコードで行うことも可能です。

mceclip1.png

誰かがこのリンクをクリックすると、すぐにチャットにアラートが表示されます。

mceclip7.png

以上です。

また、リンク短縮機能(bitly.comなど)でリンクを装飾したり、チャットに複数の従業員を追加したり、この例を参考にアラートを便利に利用することもできます。

お役に立てたでしょうか?

この記事は役に立ちましたか?
2人中2人がこの記事が役に立ったと言っています

コメント

0件のコメント

サインインしてコメントを残してください。