In my use case the JSON response (when i get a list of one-on-one Chat messages or a specific message) has an "attachments" array which contains an "id" and "contentUrl" that has a SharePoint URL (for a. pdf file in a Chat, this gets stored in SharePoint or OneDrive. So if I understand this right, if I attach a. File attachments are not hosted content they are stored in SharePoint or OneDrive." Represents Teams content hosted in a chat message, such as images or code snippets. Now with regards to attachments, the documentation states " chatMessageHostedContent resource type. GET /chats (this returns all one-on-one chats for the current user) ![]() ![]() With regards to my solution for downloading images of a one-on-one Chat I do these calls I've got my "way" of doing this, but I'm not sure if it's the "best" way so I suppose I am (please) asking you for some guidance on how to do this correctly. I have a requirement where I need to download files/images/attachments from an existing Microsoft Teams Chat (s) so I have a few questions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |