Skip to content
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

[Sample Update] Added changes for meeting participants events in meetings notifications sample #894

Merged
merged 4 commits into from
Oct 17, 2023

Conversation

Prithvi-MSFT
Copy link
Contributor

No description provided.

@ChetanSharma-msft ChetanSharma-msft added the DO NOT MERGE Do not merge the PR due to incomplete changes or feature hasn't released yet. label Aug 3, 2023
@ChetanSharma-msft ChetanSharma-msft changed the title Added changes for meeting participants events in meetings notifications sample [Sample Update] Added changes for meeting participants events in meetings notifications sample Aug 3, 2023
@ChetanSharma-msft
Copy link
Collaborator

Doc bug link: MicrosoftDocs/msteams-docs#9183

Copy link
Collaborator

@ChetanSharma-msft ChetanSharma-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added my review comments.

{
"name": "ChannelMeetingParticipant.Read.Group",
"type": "Delegated"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required, remove it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved

if (turnContext.Activity.Name == "application/vnd.microsoft.meetingParticipantJoin")
{
await turnContext.SendActivityAsync(MessageFactory.Attachment(createAdaptiveCardInvokeResponseAsync(userName, "has joined the meeting.")));
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add proper spacing and alignments.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Collaborator

@Pawank-MSFT Pawank-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks correct, Approving!

/// <returns></returns>
protected override async Task OnTeamsMeetingParticipantsJoinAsync(MeetingParticipantsEventDetails meeting, ITurnContext<IEventActivity> turnContext, CancellationToken cancellationToken)
{
await turnContext.SendActivityAsync(MessageFactory.Attachment(createAdaptiveCardInvokeResponseAsync(meeting.Members[0].User.Name, " has joined the meeting.")));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message should be " joined the meeting." to match the other event which says " left the meeting."

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker to merge

@Pawank-MSFT
Copy link
Collaborator

Pawank-MSFT commented Oct 17, 2023

Copy link
Contributor

@Mohammed-MSFT Mohammed-MSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link
Collaborator

@ChetanSharma-msft ChetanSharma-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks fine, approving it.

@Pawank-MSFT Pawank-MSFT merged commit e718b66 into main Oct 17, 2023
502 of 503 checks passed
@Jegadeesh-MSFT Jegadeesh-MSFT removed the DO NOT MERGE Do not merge the PR due to incomplete changes or feature hasn't released yet. label Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants