account.UpdateBusinessWorkHours#

class pyrogram.raw.functions.account.UpdateBusinessWorkHours#

Specify a set of Telegram Business opening hours. This info will be contained in userFull.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 .

Details:
  • Layer: 211

  • ID: 4B00E066

Parameters:
business_work_hours (BusinessWorkHours, optional):

Opening hours (optional, if not set removes all opening hours).

Returns:

bool