Class: TD::Types::BusinessRecipients

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/business_recipients.rb

Overview

Describes private chats chosen for automatic interaction with a business.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idsArray<Integer>

Identifiers of selected private chats.

Returns:

  • (Array<Integer>)

    the current value of chat_ids



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def chat_ids
  @chat_ids
end

#exclude_selectedBoolean

If true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen.

Returns:

  • (Boolean)

    the current value of exclude_selected



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def exclude_selected
  @exclude_selected
end

#excluded_chat_idsArray<Integer>

Identifiers of private chats that are always excluded; for TD::Types::BusinessConnectedBot only.

Returns:

  • (Array<Integer>)

    the current value of excluded_chat_ids



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def excluded_chat_ids
  @excluded_chat_ids
end

#select_contactsBoolean

True, if all private chats with contacts are selected.

Returns:

  • (Boolean)

    the current value of select_contacts



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def select_contacts
  @select_contacts
end

#select_existing_chatsBoolean

True, if all existing private chats are selected.

Returns:

  • (Boolean)

    the current value of select_existing_chats



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def select_existing_chats
  @select_existing_chats
end

#select_new_chatsBoolean

True, if all new private chats are selected.

Returns:

  • (Boolean)

    the current value of select_new_chats



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def select_new_chats
  @select_new_chats
end

#select_non_contactsBoolean

True, if all private chats with non-contacts are selected.

Returns:

  • (Boolean)

    the current value of select_non_contacts



13
14
15
# File 'lib/tdlib/types/business_recipients.rb', line 13

def select_non_contacts
  @select_non_contacts
end