1
1
# Copyright (c) Microsoft Corporation. All rights reserved.
2
2
# Licensed under the MIT License.
3
3
4
+ < << << << HEAD
4
5
from typing import List , Tuple
5
6
from botbuilder .schema import ConversationParameters , ConversationReference
7
+ == == == =
8
+ from typing import List
9
+ from botbuilder .schema import ConversationParameters
10
+ > >> >> >> 9 f1901c313c763fb6ab6dbc884625d6fceac83f0
6
11
from botbuilder .core .turn_context import Activity , TurnContext
7
12
from botbuilder .schema .teams import (
8
13
ChannelInfo ,
@@ -18,7 +23,11 @@ class TeamsInfo:
18
23
@staticmethod
19
24
async def send_message_to_teams_channel (
20
25
turn_context : TurnContext , activity : Activity , teams_channel_id : str
26
+ << < << << HEAD
21
27
) -> Tuple [ConversationReference , str ]:
28
+ == == == =
29
+ ) -> tuple :
30
+ >> >> >> > 9 f1901c313c763fb6ab6dbc884625d6fceac83f0
22
31
if not turn_context :
23
32
raise ValueError ("The turn_context cannot be None" )
24
33
if not turn_context .activity :
@@ -39,9 +48,13 @@ async def send_message_to_teams_channel(
39
48
return (result [0 ], result [1 ])
40
49
41
50
@staticmethod
51
+ < << << << HEAD
42
52
async def _create_conversation_callback (
43
53
new_turn_context ,
44
54
) -> Tuple [ConversationReference , str ]:
55
+ == == == =
56
+ async def _create_conversation_callback (new_turn_context ) -> tuple :
57
+ >> >> >> > 9 f1901c313c763fb6ab6dbc884625d6fceac83f0
45
58
new_activity_id = new_turn_context .activity .id
46
59
conversation_reference = TurnContext .get_conversation_reference (
47
60
new_turn_context .activity
0 commit comments