Class: TD::Types::BusinessRecipients
- Defined in:
- lib/tdlib/types/business_recipients.rb
Overview
Describes private chats chosen for automatic interaction with a business.
Instance Attribute Summary collapse
-
#chat_ids ⇒ Array<Integer>
Identifiers of selected private chats.
-
#exclude_selected ⇒ Boolean
If true, then all private chats except the selected are chosen.
-
#excluded_chat_ids ⇒ Array<Integer>
Identifiers of private chats that are always excluded; for BusinessConnectedBot only.
-
#select_contacts ⇒ Boolean
True, if all private chats with contacts are selected.
-
#select_existing_chats ⇒ Boolean
True, if all existing private chats are selected.
-
#select_new_chats ⇒ Boolean
True, if all new private chats are selected.
-
#select_non_contacts ⇒ Boolean
True, if all private chats with non-contacts are selected.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_ids ⇒ Array<Integer>
Identifiers of selected private chats.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def chat_ids @chat_ids end |
#exclude_selected ⇒ Boolean
If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def exclude_selected @exclude_selected end |
#excluded_chat_ids ⇒ Array<Integer>
Identifiers of private chats that are always excluded; for TD::Types::BusinessConnectedBot only.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def excluded_chat_ids @excluded_chat_ids end |
#select_contacts ⇒ Boolean
True, if all private chats with contacts are selected.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def select_contacts @select_contacts end |
#select_existing_chats ⇒ Boolean
True, if all existing private chats are selected.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def select_existing_chats @select_existing_chats end |
#select_new_chats ⇒ Boolean
True, if all new private chats are selected.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def select_new_chats @select_new_chats end |
#select_non_contacts ⇒ Boolean
True, if all private chats with non-contacts are selected.
13 14 15 |
# File 'lib/tdlib/types/business_recipients.rb', line 13 def select_non_contacts @select_non_contacts end |