-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sender_display_name in SendTypingNotification Operation #19760
Add sender_display_name in SendTypingNotification Operation #19760
Conversation
@@ -242,6 +243,8 @@ async def send_typing_notification( | |||
) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted, you could use the *
syntax:
async def send_typing_notification(
self,
*,
sender_display_name: Optional[str] = None,
**kwargs
) -> None:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the prefer format in async methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually, yes - it works better with intellisense.
sdk/communication/azure-communication-chat/azure/communication/chat/_chat_thread_client.py
Show resolved
Hide resolved
@@ -4,6 +4,7 @@ | |||
|
|||
### Added | |||
- Added support to add `metadata` for `message` | |||
- Added support to add `sender_display_name` for `SendTypingNotification` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SendTypingNotification
-> ChatThreadClient.send_typing_notification
/azp run python - azure-communication-chat - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.