microsoft / microsoft/teams.ts

Automatically just `send` streamed messages if in group-scope

Open
#182 0 comments 1 reaction 2 assignees Claimed by @heyitsaamir View on GitHub
enhancement
Dominant language
TypeScript
Stars
107
Forks
39
Avg merge
1d 7h
Merged PRs (30d)
74

Description

We currently do some level of accumulation for messages anyway.
For `group` scope, we have to tell the user to do a check:
`if activity.conversation.isGroup`, then `send`
Otherwise, you can `stream`.

This leads to poor devex. We can abstract this away for them:
In group scopes, we accumulate all the chunks for them. Then once streaming is done, we can just `send` it for them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.