Class: TD::Types::BusinessGreetingMessageSettings

Inherits:
Base
  • Object
show all
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

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#inactivity_daysInteger

The number of days after which a chat will be considered as inactive; currently, must be on of 7, 14, 21, or 28.

Returns:

  • (Integer)

    the current value of inactivity_days



9
10
11
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9

def inactivity_days
  @inactivity_days
end

#recipientsTD::Types::BusinessRecipients

Chosen recipients of the greeting messages.

Returns:



9
10
11
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9

def recipients
  @recipients
end

#shortcut_idInteger

Unique quick reply shortcut identifier for the greeting messages.

Returns:

  • (Integer)

    the current value of shortcut_id



9
10
11
# File 'lib/tdlib/types/business_greeting_message_settings.rb', line 9

def shortcut_id
  @shortcut_id
end