I'm currently developing an application using the Microsoft Teams JavaScript SDK v2 (TeamsJS) and I'm struggling to find a way to send large text messages to a specific user or channel. I've successfully used the selectPeople API to enable users to select recipients from a list, which returns the ID, name, and email address of the selected users. However, the next step, which involves sending large text messages to these selected individuals or channels, is unclear.
The SDK documentation does not seem to provide specific information on this aspect. I'm wondering if there's a way to use the user or channel ID obtained from the selectPeople API, alongside another API or method, to send the message. Does TeamsJS v2 offer this functionality? If so, could someone point me towards the relevant documentation or provide a code example? Any assistance would be highly appreciated.
Thank you!