Class: Vk::API::Messages::Methods::CreateChat
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Messages::Methods::CreateChat
- Defined in:
- lib/vk/api/messages/methods/create_chat.rb
Overview
Creates a chat with several participants.
Arguments collapse
-
#title ⇒ String
Chat title.
-
#user_ids ⇒ Array
IDs of the users to be added to the chat.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Messages::Methods::CreateChat
|
|
# File 'lib/vk/api/messages/methods/create_chat.rb', line 15
|
Instance Method Details
#title ⇒ String
Returns Chat title.
26 |
# File 'lib/vk/api/messages/methods/create_chat.rb', line 26 attribute :title, API::Types::Coercible::String.optional.default(nil) |
#user_ids ⇒ Array
Returns IDs of the users to be added to the chat.
24 |
# File 'lib/vk/api/messages/methods/create_chat.rb', line 24 attribute :user_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int) |