Skip to content

BusinessInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a Telegram Business account

BusinessInfo(
  location: BusinessLocation,
  opening_hours: BusinessOpeningHours,
  local_opening_hours: BusinessOpeningHours,
  next_open_in: int32,
  next_close_in: int32,
  greeting_message_settings: BusinessGreetingMessageSettings,
  away_message_settings: BusinessAwayMessageSettings,
  start_page: BusinessStartPage
) → BusinessInfo

location

BusinessLocation

Location of the business; may be null if none

opening_hours

BusinessOpeningHours

Opening hours of the business; may be null if none. The hours are guaranteed to be valid and have already been split by week days

local_opening_hours

BusinessOpeningHours

Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and have already been split by week days. Local time zone identifier will be empty. An updateUserFullInfo update is not triggered when value of this field changes

next_open_in

int32

Time left before the business will open the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes

next_close_in

int32

Time left before the business will close the next time, in seconds; 0 if unknown. An updateUserFullInfo update is not triggered when value of this field changes

greeting_message_settings

BusinessGreetingMessageSettings

The greeting message; may be null if none or the Business account is not of the current user

away_message_settings

BusinessAwayMessageSettings

The away message; may be null if none or the Business account is not of the current user

start_page

BusinessStartPage

Information about start page of the account; may be null if none