Start event

Отправка события о запуске приложения или бота

Send "start" event

post

You must send this event when your bot receives the /start command or when the web app is launched and loaded.

Body
all ofOptional
Responses
204
Event successfully submitted
post
POST /v1/events/start HTTP/1.1
Host: api.taddy.pro
Content-Type: application/json
Accept: */*
Content-Length: 370

{
  "pubId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "user": {
    "id": 1234567890,
    "firstName": "John",
    "lastName": "Doe",
    "username": "john_doe",
    "premium": true,
    "language": "en",
    "country": "DE",
    "gender": "male",
    "ip": "65.82.123.21",
    "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0",
    "birthDate": "2001-01-01"
  },
  "origin": "server",
  "start": "/start abc_123"
}

No content

Last updated