signal-cli-rest-api
signal-cli-rest-api copied to clipboard
how to get group image from a link ?
From my experimentation , if we only have this group , then we can get this group image (ie. its stored on signal's server) (and shows up as an embed)
but if we try to fetch this image from other services (like let's say discord or some other service) which also embeds , then it doesn't actually show this image (its only in signal where its possible I think)
I am wondering if this is already a part of the api or not , from what I've seen in the swagger there is
GET /v1/groups/{number}/{groupid} List a Signal Group.
which only gives the name
it seems that in signal-desktop (using it with debug port & opening up ungoogled chromium just to inspect it)
this is what it currently shows for this image
<img class="module-image__image" alt="Thumbnail link preview for signal.group" height="72" width="72" src="attachment://v2/5c/5cf830b219942a4c738eca75c79bfcc715d03ac415ad86dead7f5b39a286e776?key=UYZZbsG1sYPi3cBf5Rta3caXdcnJCJMcGPUzn095u2Xz%2Fe8Bwpl99xcZe10BD%2BOUwkNauh9dnFLIdOuJrKeyOQ%3D%3D&size=45670&contentType=image%2Fjpeg"> {I changed 3 / 2 letters in this if this is actually sensitive data I suppose)
maybe we could then use /v1/attachments/{attachment} ? this to fetch it , I am going to try it