Class: BotFramework::ConversationAccount

Inherits:
Base
  • Object
show all
Defined in:
lib/bot_framework/models/conversation_account.rb

Overview

Channel account information for a conversation

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

#==, #_deserialize, #_to_hash, #as_json, attr_accessor, attribute_map, #attributes, #attributes_hash, #build_from_hash, #compact_attributes_hash, #eql?, #hash, #initialize, #list_invalid_properties, #to_body, #to_hash, #to_json, #to_s, #valid?

Constructor Details

This class inherits a constructor from BotFramework::Base

Instance Attribute Details

#idObject

Channel id for the user or bot on this channel (Example: [email protected], or @joesmith or 123456)



8
9
10
# File 'lib/bot_framework/models/conversation_account.rb', line 8

def id
  @id
end

#is_groupObject

Is this a reference to a group



5
6
7
# File 'lib/bot_framework/models/conversation_account.rb', line 5

def is_group
  @is_group
end

#nameObject

Display friendly name



11
12
13
# File 'lib/bot_framework/models/conversation_account.rb', line 11

def name
  @name
end

Class Method Details

.swagger_typesObject

Attribute type mapping.



14
15
16
17
18
19
20
# File 'lib/bot_framework/models/conversation_account.rb', line 14

def self.swagger_types
  {
    is_group: :BOOLEAN,
    id: :String,
    name: :String
  }
end