Class: TD::Types::BusinessAwayMessageSchedule::Custom

Inherits:
TD::Types::BusinessAwayMessageSchedule show all
Defined in:
lib/tdlib/types/business_away_message_schedule/custom.rb

Overview

Send away messages only in the specified time span.

Instance Attribute Summary collapse

Method Summary

Methods inherited from TD::Types::Base

#to_hash, #to_json

Instance Attribute Details

#end_dateInteger

Point in time (Unix timestamp) when the away messages will stop to be sent.

Returns:

  • (Integer)

    the current value of end_date



6
7
8
# File 'lib/tdlib/types/business_away_message_schedule/custom.rb', line 6

def end_date
  @end_date
end

#start_dateInteger

Point in time (Unix timestamp) when the away messages will start to be sent.

Returns:

  • (Integer)

    the current value of start_date



6
7
8
# File 'lib/tdlib/types/business_away_message_schedule/custom.rb', line 6

def start_date
  @start_date
end