Class: BotFramework::ChannelAccount
- Defined in:
- lib/bot_framework/models/channel_account.rb
Overview
Channel account information needed to route a message
Instance Attribute Summary collapse
-
#id ⇒ Object
Channel id for the user or bot on this channel (Example: [email protected], or @joesmith or 123456).
-
#name ⇒ Object
Display friendly name.
Class Method Summary collapse
-
.swagger_types ⇒ Object
Attribute type mapping.
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
#id ⇒ Object
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 |
#name ⇒ Object
Display friendly name
8 9 10 |
# File 'lib/bot_framework/models/channel_account.rb', line 8 def name @name end |
Class Method Details
.swagger_types ⇒ Object
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 |