@@ -132,7 +132,7 @@ class FileConsentCardResponse(Model):
132
132
133
133
:param action: The action the user took. Possible values include:
134
134
'accept', 'decline'
135
- :type action: str or ~botframework.connector.teams.models.enum
135
+ :type action: str
136
136
:param context: The context associated with the action.
137
137
:type context: object
138
138
:param upload_info: If the user accepted the file, contains information
@@ -346,7 +346,7 @@ class MessageActionsPayloadBody(Model):
346
346
347
347
:param content_type: Type of the content. Possible values include: 'html',
348
348
'text'
349
- :type content_type: str or ~botframework.connector.teams.models.enum
349
+ :type content_type: str
350
350
:param content: The content of the body.
351
351
:type content: str
352
352
"""
@@ -463,7 +463,7 @@ class MessageActionsPayloadReaction(Model):
463
463
464
464
:param reaction_type: The type of reaction given to the message. Possible
465
465
values include: 'like', 'heart', 'laugh', 'surprised', 'sad', 'angry'
466
- :type reaction_type: str or ~botframework.connector.teams.models.enum
466
+ :type reaction_type: str
<
10000
/td>467
467
:param created_date_time: Timestamp of when the user reacted to the
468
468
message.
469
469
:type created_date_time: str
@@ -491,7 +491,7 @@ class MessageActionsPayloadUser(Model):
491
491
492
492
:param user_identity_type: The identity type of the user. Possible values
493
493
include: 'aadUser', 'onPremiseAadUser', 'anonymousGuest', 'federatedUser'
494
- :type user_identity_type: str or ~botframework.connector.teams.models.enum
494
+ :type user_identity_type: str
495
495
:param id: The id of the user.
496
496
:type id: str
497
497
:param display_name: The plaintext display name of the user.
@@ -528,7 +528,7 @@ class MessageActionsPayload(Model):
528
528
:type reply_to_id: str
529
529
:param message_type: Type of message - automatically set to message.
530
530
Possible values include: 'message'
531
- :type message_type: str or ~botframework.connector.teams.models.enum
531
+ :type message_type: str
532
532
:param created_date_time: Timestamp of when the message was created.
533
533
:type created_date_time: str
534
534
:param last_modified_date_time: Timestamp of when the message was edited
@@ -543,7 +543,7 @@ class MessageActionsPayload(Model):
543
543
:type summary: str
544
544
:param importance: The importance of the message. Possible values include:
545
545
'normal', 'high', 'urgent'
546
- :type importance: str or ~botframework.connector.teams.models.enum
546
+ :type importance: str
547
547
:param locale: Locale of the message set by the client.
548
548
:type locale: str
549
549
:param from_property: Sender of the message.
@@ -639,7 +639,7 @@ class MessagingExtensionAction(TaskModuleRequest):
639
639
:type command_id: str
640
640
:param command_context: The context from which the command originates.
641
641
Possible values include: 'message', 'compose', 'commandbox'
642
- :type command_context: str or ~botframework.connector.teams.models.enum
642
+ :type command_context: str
643
643
:param bot_message_preview_action: Bot message preview action taken by
644
644
user. Possible values include: 'edit', 'send'
645
645
:type bot_message_preview_action: str or
@@ -864,10 +864,10 @@ class MessagingExtensionResult(Model):
864
864
865
865
:param attachment_layout: Hint for how to deal with multiple attachments.
866
866
Possible values include: 'list', 'grid'
867
- :type attachment_layout: str or ~botframework.connector.teams.models.enum
867
+ :type attachment_layout: str
868
868
:param type: The type of the result. Possible values include: 'result',
869
869
'auth', 'config', 'message', 'botMessagePreview'
870
- :type type: str or ~botframework.connector.teams.models.enum
870
+ :type type: str
871
871
:param attachments: (Only when type is result) Attachments
872
872
:type attachments:
873
873
list[~botframework.connector.teams.models.MessagingExtensionAttachment]
@@ -1002,7 +1002,7 @@ class O365ConnectorCardInputBase(Model):
1002
1002
1003
1003
:param type: Input type name. Possible values include: 'textInput',
1004
1004
'dateInput', 'multichoiceInput'
1005
- :type type: str or ~botframework.connector.teams.models.enum
1005
+ :type type: str
1006
1006
:param id: Input Id. It must be unique per entire O365 connector card.
1007
1007
:type id: str
1008
1008
:param is_required: Define if this input is a required field. Default
@@ -1045,7 +1045,7 @@ class O365ConnectorCardActionBase(Model):
1045
1045
1046
1046
:param type: Type of the action. Possible values include: 'ViewAction',
1047
1047
'OpenUri', 'HttpPOST', 'ActionCard'
1048
- :type type: str or ~botframework.connector.teams.models.enum
1048
+ :type type: str
1049
1049
:param name: Name of the action that will be used as button title
1050
1050
:type name: str
1051
1051
:param id: Action Id
@@ -1072,7 +1072,7 @@ class O365ConnectorCardActionCard(O365ConnectorCardActionBase):
1072
1072
1073
1073
:param type: Type of the action. Possible values include: 'ViewAction',
1074
1074
'OpenUri', 'HttpPOST', 'ActionCard'
1075
- :type type: str or ~botframework.connector.teams.models.enum
1075
+ :type type: str
1076
1076
:param name: Name of the action that will be used as button title
1077
1077
:type name: str
1078
1078
:param id: Action Id
@@ -1141,7 +1141,7 @@ class O365ConnectorCardDateInput(O365ConnectorCardInputBase):
1141
1141
1142
1142
:param type: Input type name. Possible values include: 'textInput',
1143
1143
'dateInput', 'multichoiceInput'
1144
- :type type: str or ~botframework.connector.teams.models.enum
1144
+ :type type: str
1145
1145
:param id: Input Id. It must be unique per entire O365 connector card.
1146
1146
:type id: str
1147
1147
:param is_required: Define if this input is a required field. Default
@@ -1212,7 +1212,7 @@ class O365ConnectorCardHttpPOST(O365ConnectorCardActionBase):
1212
1212
1213
1213
:param type: Type of the action. Possible values include: 'ViewAction',
1214
1214
'OpenUri', 'HttpPOST', 'ActionCard'
1215
- :type type: str or ~botframework.connector.teams.models.enum
1215
+ :type type: str
1216
1216
:param name: Name of the action that will be used as button title
1217
1217
:type name: str
1218
1218
:param id: Action Id
@@ -1262,7 +1262,7 @@ class O365ConnectorCardMultichoiceInput(O365ConnectorCardInputBase):
1262
1262
1263
1263
:param type: Input type name. Possible values include: 'textInput',
1264
1264
'dateInput', 'multichoiceInput'
1265
- :type type: str or ~botframework.connector.teams.models.enum
1265
+ :type type: str
1266
1266
:param id: Input Id. It must be unique per entire O365 connector card.
1267
1267
:type id: str
1268
1268
:param is_required: Define if this input is a required field. Default
@@ -1278,7 +1278,7 @@ class O365ConnectorCardMultichoiceInput(O365ConnectorCardInputBase):
1278
1278
list[~botframework.connector.teams.models.O365ConnectorCardMultichoiceInputChoice]
1279
1279
:param style: Choice item rendering style. Default value is 'compact'.
1280
1280
Possible values include: 'compact', 'expanded'
1281
- :type style: str or ~botframework.connector.teams.models.enum
1281
+ :type style: str
1282
1282
:param is_multi_select: Define if this input field allows multiple
1283
1283
selections. Default value is false.
1284
1284
:type is_multi_select: bool
@@ -1349,7 +1349,7 @@ class O365ConnectorCardOpenUri(O365ConnectorCardActionBase):
1349
1349
1350
1350
:param type: Type of the action. Possible values include: 'ViewAction',
1351
1351
'OpenUri', 'HttpPOST', 'ActionCard'
1352
- :type type: str or ~botframework.connector.teams.models.enum
1352
+ :type type: str
1353
1353
:param name: Name of the action that will be used as button title
1354
1354
:type name: str
1355
1355
:param id: Action Id
@@ -1380,7 +1380,7 @@ class O365ConnectorCardOpenUriTarget(Model):
1380
1380
1381
1381
:param os: Target operating system. Possible values include: 'default',
1382
1382
'iOS', 'android', 'windows'
1383
- :type os: str or ~botframework.connector.teams.models.enum
1383
+ :type os: str
1384
1384
:param uri: Target url
1385
1385
:type uri: str
1386
1386
"""
@@ -1481,7 +1481,7 @@ class O365ConnectorCardTextInput(O365ConnectorCardInputBase):
1481
1481
1482
1482
:param type: Input type name. Possible values include: 'textInput',
1483
1483
'dateInput', 'multichoiceInput'
1484
- :type type: str or ~botframework.connector.teams.models.enum
1484
+ :type type: str
1485
1485
:param id: Input Id. It must be unique per entire O365 connector card.
1486
1486
:type id: str
1487
1487
:param is_required: Define if this input is a required field. Default
@@ -1538,7 +1538,7 @@ class O365ConnectorCardViewAction(O365ConnectorCardActionBase):
1538
1538
1539
1539
:param type: Type of the action. Possible values include: 'ViewAction',
1540
1540
'OpenUri', 'HttpPOST', 'ActionCard'
1541
- :type type: str or ~botframework.connector.teams.models.enum
1541
+ :type type: str
1542
1542
:param name: Name of the action that will be used as button title
1543
1543
:type name: str
1544
1544
:param id: Action Id
@@ -1586,7 +1586,7 @@ class TaskModuleResponseBase(Model):
1586
1586
1587
1587
:param type: Choice of action options when responding to the task/submit
1588
1588
message. Possible values include: 'message', 'continue'
1589
- :type type: str or ~botframework.connector.teams.models.enum
1589
+ :type type: str
1590
1590
"""
1591
1591
1592
1592
_attribute_map = {
@@ -1601,9 +1601,6 @@ def __init__(self, *, type=None, **kwargs) -> None:
1601
1601
class TaskModuleContinueResponse (TaskModuleResponseBase ):
1602
1602
"""Task Module Response with continue action.
1603
1603
1604
- :param type: Choice of action options when responding to the task/submit
1605
- message. Possible values include: 'message', 'continue'
1606
- :type type: str or ~botframework.connector.teams.models.enum
1607
1604
:param value: The JSON for the Adaptive card to appear in the task module.
1608
1605
:type value: ~botframework.connector.teams.models.TaskModuleTaskInfo
1609
1606
"""
@@ -1613,17 +1610,14 @@ class TaskModuleContinueResponse(TaskModuleResponseBase):
1613
1610
"value" : {"key" : "value" , "type" : "TaskModuleTaskInfo" },
1614
1611
}
1615
1612
1616
- def __init__ (self , * , type = None , value = None , ** kwargs ) -> None :
1617
- super (TaskModuleContinueResponse , self ).__init__ (type = type , ** kwargs )
1613
+ def __init__ (
C15E
self , * , value = None , ** kwargs ) -> None :
1614
+ super (TaskModuleContinueResponse , self ).__init__ (type = "continue" , ** kwargs )
1618
1615
self .value = value
1619
1616
1620
1617
1621
1618
class TaskModuleMessageResponse (TaskModuleResponseBase ):
1622
1619
"""Task Module response with message action.
1623
1620
1624
- :param type: Choice of action options when responding to the task/submit
1625
- message. Possible values include: 'message', 'continue'
1626
- :type type: str or ~botframework.connector.teams.models.enum
1627
1621
:param value: Teams will display the value of value in a popup message
1628
1622
box.
1629
1623
:type value: str
@@ -1634,8 +1628,8 @@ class TaskModuleMessageResponse(TaskModuleResponseBase):
1634
1628
"value" : {"key" : "value" , "type" : "str" },
1635
1629
}
1636
1630
1637
- def __init__ (self , * , type = None , value : str = None , ** kwargs ) -> None :
1638
- super (TaskModuleMessageResponse , self ).__init__ (type = type , ** kwargs )
1631
+ def __init__ (self , * , value : str = None , ** kwargs ) -> None :
1632
+ super (TaskModuleMessageResponse , self ).__init__ (type = "message" , ** kwargs )
1639
1633
self .value = value
1640
1634
1641
1635
0 commit comments