@@ -42,8 +42,8 @@ class Activity(Model):
4242 :param channel_id: Contains an ID that uniquely identifies the channel.
4343 Set by the channel.
4444 :type channel_id: str
45- :param from : Identifies the sender of the message.
46- :type from : ~botframework.connector.models.ChannelAccount
45+ :param from_property : Identifies the sender of the message.
46+ :type from_property : ~botframework.connector.models.ChannelAccount
4747 :param conversation: Identifies the conversation to which the activity
4848 belongs.
4949 :type conversation: ~botframework.connector.models.ConversationAccount
@@ -153,7 +153,7 @@ class Activity(Model):
153153 'local_timezone' : {'key' : 'localTimezone' , 'type' : 'str' },
154154 'service_url' : {'key' : 'serviceUrl' , 'type' : 'str' },
155155 'channel_id' : {'key' : 'channelId' , 'type' : 'str' },
156- 'from ' : {'key' : 'from' , 'type' : 'ChannelAccount' },
156+ 'from_property ' : {'key' : 'from' , 'type' : 'ChannelAccount' },
157157 'conversation' : {'key' : 'conversation' , 'type' : 'ConversationAccount' },
158158 'recipient' : {'key' : 'recipient' , 'type' : 'ChannelAccount' },
159159 'text_format' : {'key' : 'textFormat' , 'type' : 'str' },
@@ -189,7 +189,7 @@ class Activity(Model):
189189 'semantic_action' : {'key' : 'semanticAction' , 'type' : 'SemanticAction' },
190190 }
191191
192- def __init__ (self , * , type = None , id : str = None , timestamp = None , local_timestamp = None , local_timezone : str = None , service_url : str = None , channel_id : str = None , from = None , conversation = None , recipient = None , text_format = None , attachment_layout = None , members_added = None , members_removed = None , reactions_added = None , reactions_removed = None , topic_name : str = None , history_disclosed : bool = None , locale : str = None , text : str = None , speak : str = None , input_hint = None , summary : str = None , suggested_actions = None , attachments = None , entities = None , channel_data = None , action : str = None , reply_to_id : str = None , label : str = None , value_type : str = None , value = None , name : str = None , relates_to = None , code = None , expiration = None , importance = None , delivery_mode = None , listen_for = None , text_highlights = None , semantic_action = None , ** kwargs ) -> None :
192+ def __init__ (self , * , type = None , id : str = None , timestamp = None , local_timestamp = None , local_timezone : str = None , service_url : str = None , channel_id : str = None , from_property = None , conversation = None , recipient = None , text_format = None , attachment_layout = None , members_added = None , members_removed = None , reactions_added = None , reactions_removed = None , topic_name : str = None , history_disclosed : bool = None , locale : str = None , text : str = None , speak : str = None , input_hint = None , summary : str = None , suggested_actions = None , attachments = None , entities = None , channel_data = None , action : str = None , reply_to_id : str = None , label : str = None , value_type : str = None , value = None , name : str = None , relates_to = None , code = None , expiration = None , importance = None , delivery_mode = None , listen_for = None , text_highlights = None , semantic_action = None , ** kwargs ) -> None :
193193 super (Activity , self ).__init__ (** kwargs )
194194 self .type = type
195195 self .id = id
@@ -198,7 +198,7 @@ def __init__(self, *, type=None, id: str=None, timestamp=None, local_timestamp=N
198198 self .local_timezone = local_timezone
199199 self .service_url = service_url
200200 self .channel_id = channel_id
201- self .from = from
201+ self .from_property = from_property
202202 self .conversation = conversation
203203 self .recipient = recipient
204204 self .text_format = text_format
0 commit comments