public ActionResult ActivityFeedPage( [FromUri(Name = "tenantId")] string tenantId, [FromUri(Name = "teamId")] string teamId, [FromUri(Name = "channelId")] string channelId, [FromUri(Name = "userId")] string userId) { ActivityFeedModel activityFeedModel = new ActivityFeedModel { TenantId = tenantId, TeamId = teamId, ChannelId = channelId, UserId = userId }; return(View("ActivityFeedPage", activityFeedModel)); }
public async Task <ActionResult> SendActivityFeedNotification( string tenantId, string teamId, string channelId, string userId) { string messagingToken = await Authorization.GetAppPermissionToken(tenantId); new SendActivityFeedNotificationRequest(tenantId, teamId, channelId, userId, messagingToken).SendRequest(); ActivityFeedModel activityFeedModel = new ActivityFeedModel { TenantId = tenantId, TeamId = teamId, ChannelId = channelId, UserId = userId, }; return(View("ActivityFeedPage", activityFeedModel)); }