1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

クラウドAI開発講座 Microsoftと高専キャリアがコラボ #2

Last updated at Posted at 2020-07-14

クラウドAI開発講座

マイクロソフトと高専キャリア教育研究所が共催するAI開発プログラム
無料で参加でき、困ったときにはメンターに相談ができるオンラインプログラム

ミッション

進歩

レッスンちょまどさん(完了)

ちょまどさんの記事を参考にMicrosoft Teamsのボットを作成
僕のメッセージをそのまま返してくれます
高専キャリアさん、マイクロソフトさんありがとうございます。初心者でも簡単に作成できました
picture2.1.PNG

以下のコードですが、"id""botId"だけ書き換えれば、作成したボットの動作に影響はないです
初心者だったので、どこを書き換えればよいか迷いました
とりあえず動作を確認したい時の参考にどうぞ

manifest.json
{
    "$schema": "https://developer.microsoft.com/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
    "manifestVersion": "1.5",
    "version": "1.0.0",
    "id": "【Azure ポータルからコピペしてきた MicrosoftAppId の値】",
    "packageName": "com.example.takeechobot",
    "developer": {
      "name": "Take",
      "websiteUrl": "https://website.com/",
      "privacyUrl": "https://website.com/privacy",
      "termsOfUseUrl": "https://website.com/app-tos"
    },
    "name": {
      "short": "たけ"
    },
    "description": {
      "short": "たけがオウム返ししてくれます",
      "full": "たけが可愛いので嬉しいです"
    },
    "icons": {
      "outline": "32x32.png",
      "color": "192x192.png"
    },
    "accentColor": "#AA3333",
    "bots": [
      {
        "botId": "【Azure ポータルからコピペしてきた MicrosoftAppId の値】",
        "scopes": [ "team", "personal", "groupchat" ],
        "commandLists": [
          {
            "scopes": [ "team" ],
            "commands": [
              {
                "title": "SayHiTeam",
                "description": "Team 用のコマンドを何か作った場合はここに説明を書いてください"
              }
            ]
          },
          {
            "scopes": [ "personal", "groupchat" ],
            "commands": [
              {
                "title": "SayHi",
                "description": "チャット用コマンドを何か作った場合はここに説明を書いてください"
              }
            ]
          }
        ]
      }
    ]
  }

レッスンおーちょさん(途中)

おーちょさんの記事を参考に優しい言葉を返してくれるぼっとを作成中

現在、Twitter developersアカウントに登録申請中

作業が遅れるため、あらかじめ登録しておくことをお勧めします

高専キャリアONLINEの提供コンテンツ(高専キャリア教育研究所)

高専キャリアONLINEの提供コンテンツ(高専キャリア教育研究所

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?