Process incoming story messages

This commit is contained in:
Josh Perez
2022-03-04 16:14:52 -05:00
committed by GitHub
parent df7cdfacc7
commit eb91eb6fec
84 changed files with 4382 additions and 652 deletions

View File

@@ -285,6 +285,7 @@ const dataInterface: ClientInterface = {
_deleteAllStoryDistributions,
createNewStoryDistribution,
getAllStoryDistributionsWithMembers,
getStoryDistributionWithMembers,
modifyStoryDistribution,
modifyStoryDistributionMembers,
deleteStoryDistribution,
@@ -1583,6 +1584,11 @@ async function getAllStoryDistributionsWithMembers(): Promise<
> {
return channels.getAllStoryDistributionsWithMembers();
}
async function getStoryDistributionWithMembers(
id: string
): Promise<StoryDistributionWithMembersType | undefined> {
return channels.getStoryDistributionWithMembers(id);
}
async function modifyStoryDistribution(
distribution: StoryDistributionType
): Promise<void> {