1
1
# Copyright (c) Microsoft Corporation. All rights reserved.
2
2
# Licensed under the MIT License.
3
3
4
+ from typing import List
4
5
from msrest .serialization import Model
5
6
from botbuilder .schema import (
6
7
Attachment ,
@@ -1947,7 +1948,7 @@ def __init__(
1947
1948
self ,
1948
1949
* ,
1949
1950
continuation_token : str = None ,
1950
- members : [TeamsChannelAccount ] = None ,
1951
+ members : List [TeamsChannelAccount ] = None ,
1951
1952
** kwargs
1952
1953
) -> None :
1953
1954
super (TeamsPagedMembersResult , self ).__init__ (
@@ -1977,7 +1978,7 @@ class TeamsChannelData(Model):
1977
1978
1978
1979
_attribute_map = {
1979
1980
"channel" : {"key" : "channel" , "type" : "ChannelInfo" },
1980
- "eventType " : {"key" : "eventType" , "type" : "str" },
1981
+ "event_type " : {"key" : "eventType" , "type" : "str" },
1981
1982
"team" : {"key" : "team" , "type" : "TeamInfo" },
1982
1983
"notification" : {"key" : "notification" , "type" : "NotificationInfo" },
1983
1984
"tenant" : {"key" : "tenant" , "type" : "TenantInfo" },
@@ -1988,7 +1989,7 @@ def __init__(
1988
1989
self ,
1989
1990
* ,
1990
1991
channel = None ,
1991
- eventType : str = None ,
1992
+ event_type : str = None ,
1992
1993
team = None ,
1993
1994
notification = None ,
1994
1995
tenant = None ,
@@ -1998,7 +1999,7 @@ def __init__(
1998
1999
super (TeamsChannelData , self ).__init__ (** kwargs )
1999
2000
self .channel = channel
2000
2001
# doing camel case here since that's how the data comes in
2001
- self .event_type = eventType
2002
+ self .event_type = event_type
2002
2003
self .team = team
2003
2004
self .notification = notification
2004
2005
self .tenant = tenant
0 commit comments