fictadvisor / fictadvisor-bot

Telegram bot for fictadvisor.com
11 stars 0 forks source link

Implement TelegramGroup api service #62

Closed Kulunchick closed 1 year ago

Kulunchick commented 1 year ago

POST /v2/TelegramGroups/{groupId} Body

{
  "source": "GROUP",
  "telegramId": 0
}

GET /v2/TelegramGroups/{groupId}

PATCH /v2/telegramGroups?telegramId={telegramId}&groupId={groupId}

DELETE /v2/telegramGroups?telegramId={telegramId}&groupId={groupId}

Template: https://github.com/fictadvisor/fictadvisor-bot/blob/dev/app/services/user_api.py