Class: Teams::Api::ActivityValue
- Defined in:
- lib/teams/api/activity_value.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#command_id ⇒ Object
The message extension command that fired (query/submit/fetchTask).
-
#data ⇒ Object
The invoke payload's data, e.g.
- #end_time ⇒ Object
-
#id ⇒ Object
Meeting start/end event fields.
- #join_url ⇒ Object
- #meeting_type ⇒ Object
-
#parameters ⇒ Object
Message extension query parameters: [=> ..., "value" => ...].
- #start_time ⇒ Object
- #title ⇒ Object
Methods inherited from Model
Constructor Details
This class inherits a constructor from Teams::Api::Model
Instance Method Details
#command_id ⇒ Object
The message extension command that fired (query/submit/fetchTask).
13 14 15 |
# File 'lib/teams/api/activity_value.rb', line 13 def command_id read("commandId", "command_id") end |
#data ⇒ Object
The invoke payload's data, e.g. dialog submit form values plus the card action's data (dialog_id / action routing keys).
8 9 10 |
# File 'lib/teams/api/activity_value.rb', line 8 def data read("data") end |
#end_time ⇒ Object
44 45 46 |
# File 'lib/teams/api/activity_value.rb', line 44 def end_time read("EndTime", "endTime", "end_time") end |
#id ⇒ Object
Meeting start/end event fields. Teams sends these PascalCase on the wire (Id, JoinUrl, Title, MeetingType, StartTime, EndTime).
24 25 26 |
# File 'lib/teams/api/activity_value.rb', line 24 def id read("Id", "id") end |
#join_url ⇒ Object
36 37 38 |
# File 'lib/teams/api/activity_value.rb', line 36 def join_url read("JoinUrl", "joinUrl", "join_url") end |
#meeting_type ⇒ Object
32 33 34 |
# File 'lib/teams/api/activity_value.rb', line 32 def meeting_type read("MeetingType", "meetingType", "meeting_type") end |
#parameters ⇒ Object
Message extension query parameters: [=> ..., "value" => ...].
18 19 20 |
# File 'lib/teams/api/activity_value.rb', line 18 def parameters Array(read("parameters")) end |
#start_time ⇒ Object
40 41 42 |
# File 'lib/teams/api/activity_value.rb', line 40 def start_time read("StartTime", "startTime", "start_time") end |
#title ⇒ Object
28 29 30 |
# File 'lib/teams/api/activity_value.rb', line 28 def title read("Title", "title") end |