/
v3.0.11Get access

updateClientInfo

Via the request, players can add and edit the “Telegram ID” field in the registration form and the profile section to allow them to receive CRM campaigns via the Telegram channel.

Request parameters:

NameDescriptionTypeValuesDefault
telegramId
The telegram Id of the userstring--

Call example:

updateClientInfo({
  command: 'update_client_info',
  params: {
    telegram_id: 'ahgctv@@'
  },
  rid: 'a0ad2208'
})

Response examples:

{
  code: 0,
  rid: 'a0ad2208',
  data: {
    result: 0,
    result_text: null,
    details: []
  }
}