Class: TD::Types::BusinessAwayMessageSettings
- Defined in:
- lib/tdlib/types/business_away_message_settings.rb
Overview
Describes settings for messages that are automatically sent by a Telegram Business account when it is away.
Instance Attribute Summary collapse
-
#offline_only ⇒ Boolean
True, if the messages must not be sent if the account was online in the last 10 minutes.
-
#recipients ⇒ TD::Types::BusinessRecipients
Chosen recipients of the away messages.
-
#schedule ⇒ TD::Types::BusinessAwayMessageSchedule
Settings used to check whether the current user is away.
-
#shortcut_id ⇒ Integer
Unique quick reply shortcut identifier for the away messages.
Method Summary
Methods inherited from Base
Instance Attribute Details
#offline_only ⇒ Boolean
True, if the messages must not be sent if the account was online in the last 10 minutes.
9 10 11 |
# File 'lib/tdlib/types/business_away_message_settings.rb', line 9 def offline_only @offline_only end |
#recipients ⇒ TD::Types::BusinessRecipients
Chosen recipients of the away messages.
9 10 11 |
# File 'lib/tdlib/types/business_away_message_settings.rb', line 9 def recipients @recipients end |
#schedule ⇒ TD::Types::BusinessAwayMessageSchedule
Settings used to check whether the current user is away.
9 10 11 |
# File 'lib/tdlib/types/business_away_message_settings.rb', line 9 def schedule @schedule end |
#shortcut_id ⇒ Integer
Unique quick reply shortcut identifier for the away messages.
9 10 11 |
# File 'lib/tdlib/types/business_away_message_settings.rb', line 9 def shortcut_id @shortcut_id end |