Class: TD::Types::BusinessInfo
- Defined in:
- lib/tdlib/types/business_info.rb
Overview
Contains information about a Telegram Business account.
Instance Attribute Summary collapse
-
#away_message_settings ⇒ TD::Types::BusinessAwayMessageSettings?
The away message; may be null if none or the Business account is not of the current user.
-
#greeting_message_settings ⇒ TD::Types::BusinessGreetingMessageSettings?
The greeting message; may be null if none or the Business account is not of the current user.
-
#local_opening_hours ⇒ TD::Types::BusinessOpeningHours?
Opening hours of the business in the local time; may be null if none.
-
#location ⇒ TD::Types::BusinessLocation?
Location of the business; may be null if none.
-
#next_close_in ⇒ Integer
Time left before the business will close the next time, in seconds; 0 if unknown.
-
#next_open_in ⇒ Integer
Time left before the business will open the next time, in seconds; 0 if unknown.
-
#opening_hours ⇒ TD::Types::BusinessOpeningHours?
Opening hours of the business; may be null if none.
-
#start_page ⇒ TD::Types::BusinessStartPage?
Information about start page of the account; may be null if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#away_message_settings ⇒ TD::Types::BusinessAwayMessageSettings?
The away message; may be null if none or the Business account is not of the current user.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def @away_message_settings end |
#greeting_message_settings ⇒ TD::Types::BusinessGreetingMessageSettings?
The greeting message; may be null if none or the Business account is not of the current user.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def @greeting_message_settings end |
#local_opening_hours ⇒ TD::Types::BusinessOpeningHours?
Opening hours of the business in the local time; may be null if none. The hours are guaranteed to be valid and has already been split by week days. Local time zone identifier will be empty. An Update::UserFullInfo update is not triggered when value of this field changes.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def local_opening_hours @local_opening_hours end |
#location ⇒ TD::Types::BusinessLocation?
Location of the business; may be null if none.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def location @location end |
#next_close_in ⇒ Integer
Time left before the business will close the next time, in seconds; 0 if unknown. An Update::UserFullInfo update is not triggered when value of this field changes.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def next_close_in @next_close_in end |
#next_open_in ⇒ Integer
Time left before the business will open the next time, in seconds; 0 if unknown. An Update::UserFullInfo update is not triggered when value of this field changes.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def next_open_in @next_open_in end |
#opening_hours ⇒ TD::Types::BusinessOpeningHours?
Opening hours of the business; may be null if none. The hours are guaranteed to be valid and has already been split by week days.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def opening_hours @opening_hours end |
#start_page ⇒ TD::Types::BusinessStartPage?
Information about start page of the account; may be null if none.
22 23 24 |
# File 'lib/tdlib/types/business_info.rb', line 22 def start_page @start_page end |