Class: TD::Types::BusinessOpeningHours

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/business_opening_hours.rb

Overview

Describes opening hours of a business.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#opening_hoursArray<TD::Types::BusinessOpeningHoursInterval>

Intervals of the time when the business is open.

Returns:



7
8
9
# File 'lib/tdlib/types/business_opening_hours.rb', line 7

def opening_hours
  @opening_hours
end

#time_zone_idTD::Types::String

Unique time zone identifier.

Returns:

  • (TD::Types::String)

    the current value of time_zone_id



7
8
9
# File 'lib/tdlib/types/business_opening_hours.rb', line 7

def time_zone_id
  @time_zone_id
end