Class: TD::Types::BusinessGreetingMessageSettings
- Defined in:
- lib/tdlib/types/business_greeting_message_settings.rb
Overview
Describes settings for greeting messages that are automatically sent by a Telegram Business account as response to
incoming messages in an inactive private chat.
Instance Attribute Summary collapse
-
#inactivity_days ⇒ Integer
The number of days after which a chat will be considered as inactive; currently, must be on of 7, 14, 21, or 28.
-
#recipients ⇒ TD::Types::BusinessRecipients
Chosen recipients of the greeting messages.
-
#shortcut_id ⇒ Integer
Unique quick reply shortcut identifier for the greeting messages.
Method Summary
Methods inherited from Base
Instance Attribute Details
#inactivity_days ⇒ Integer
The number of days after which a chat will be considered as inactive; currently, must be on of 7, 14, 21, or 28.
9 10 11 |
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9 def inactivity_days @inactivity_days end |
#recipients ⇒ TD::Types::BusinessRecipients
Chosen recipients of the greeting messages.
9 10 11 |
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9 def recipients @recipients end |
#shortcut_id ⇒ Integer
Unique quick reply shortcut identifier for the greeting messages.
9 10 11 |
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9 def shortcut_id @shortcut_id end |