Pawnote
    Preparing search index...

    Function newDiscussion

    • Create a discussion.

      Sadly, we can't get the ID of the created discussion or anything else related to it, you need to request the discussions list once again.

      Parameters

      • session: SessionHandle
      • subject: string
      • content: string
      • recipients: Readonly<
            {
                function?: Readonly<{ id: string; name: string }>;
                id: string;
                isPrincipal: boolean;
                kind: 3 | 4 | 34;
                name: string;
                subjects: Readonly<
                    {
                        id: string;
                        name: string;
                        sub: Readonly<{ from: string; id: string; name: string }>[];
                    },
                >[];
            },
        >[]

      Returns Promise<void>