digitable-lol / status-joiner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status Joiner

arch

Useful links

API docs

Teams

fetch("https://presence.teams.microsoft.com/v1/me/forceavailability/", {
  headers: {
    accept: "json",
    authorization: "Bearer TOKEN_HERE",
    Referer: "https://teams.microsoft.com/",
    "Referrer-Policy": "strict-origin-when-cross-origin",
    "cache-control": "no-cache",
    "content-type": "application/json",
  },
  body: '{"availability":"Available"}',
  method: "PUT",
});
  • Set status text
fetch("https://presence.teams.microsoft.com/v1/me/publishnote", {
  headers: {
    accept: "json",
    "accept-language": "en-US,en;q=0.9,ru-RU;q=0.8,ru;q=0.7",
    authorization: "Bearer TOKEN_HERE",
    "cache-control": "no-cache",
    "content-type": "application/json",
  },
  body: '{"message":"text","expiry":"2021-11-26T20:59:59.999Z"}',
  method: "PUT",
});

Slack

VKontakte

About


Languages

Language:TypeScript 80.9%Language:SCSS 9.4%Language:HTML 6.0%Language:JavaScript 2.1%Language:Shell 0.6%Language:Dockerfile 0.5%Language:Makefile 0.4%