account.updateBusinessWorkHours
Specify a set of Telegram Business opening hours. This info will be contained in RawUserFull.business_work_hours. To remove all opening hours, invoke the method without setting the business_work_hours field. Note that the opening hours specified by the user must be appropriately validated and transformed before invoking the method, as specified here ».
Authorization
bearerAuth In: header
Path Parameters
Workspace ID
Telegram account ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Specify a set of Telegram Business opening hours. This info will be contained in RawUserFull.business_work_hours. To remove all opening hours, invoke the method without setting the business_work_hours field. Note that the opening hours specified by the user must be appropriately validated and transformed before invoking the method, as specified here ».
Response Body
application/json
application/json
curl -X POST "https://example.com/workspaces/string/telegram-accounts/string/call/account.updateBusinessWorkHours" \ -H "Content-Type: application/json" \ -d '{ "params": {} }'{ "result": true}updateBusinessLocation
[Businesses »](https://core.telegram.org/api/business#location) may advertise their location using this method, see [here »](https://core.telegram.org/api/business#location) for more info. To remove business location information invoke the method without setting any of the parameters.
updateColor
Update the [accent color and background custom emoji »](https://core.telegram.org/api/colors) of the current account.