Class: BotFramework::ChannelAccount

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

Overview

Channel account information needed to route a message

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)



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

def id
  @id
end

#nameObject

Display friendly name



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

def name
  @name
end

Class Method Details

.swagger_typesObject

Attribute type mapping.



11
12
13
14
15
16
# File 'lib/bot_framework/models/channel_account.rb', line 11

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