-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
the await activity.sign_in() raises an AttributeError.
Steps to Reproduce
- install microsoft-teams-app version 2.0.0a18
async def _handle_message(
self,
activity: ActivityContext[MessageActivity],
) -> None:
"""
Handle incoming message activity.
Args:
activity: The activity context containing the message details.
Returns:
None
"""
try:
if activity.is_signed_in:
pass
else:
token = await activity.sign_in()
except Exception as e:
print(str(e))
token = await activity.sign_in()raises an AttributeErrorAttributeError: 'MessageActivityInput' object has no attribute 'is_targeted'
Expected Behavior
System trys to login the user if he's not signed.
Actual Behavior
AttributeError: 'MessageActivityInput' object has no attribute 'is_targeted' is raised
SDK Version
2.0.0a18
Python Version
3.12, 3.13
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working