René's URL Explorer Experiment


Title: Alternative way to assign image attachments to a channel? · Issue #161 · GetStream/stream-chat-java · GitHub

Open Graph Title: Alternative way to assign image attachments to a channel? · Issue #161 · GetStream/stream-chat-java

X Title: Alternative way to assign image attachments to a channel? · Issue #161 · GetStream/stream-chat-java

Description: As far as I can tell, the only way to assign an attachment to a channel is using the “file” property, which is the CDN URL. Those URLs are signed, and so I’m concerned about them expiring after 14 days, and the images would no longer be ...

Open Graph Description: As far as I can tell, the only way to assign an attachment to a channel is using the “file” property, which is the CDN URL. Those URLs are signed, and so I’m concerned about them expiring after 14 ...

X Description: As far as I can tell, the only way to assign an attachment to a channel is using the “file” property, which is the CDN URL. Those URLs are signed, and so I’m concerned about them expiring after 14 ...

Opengraph URL: https://github.com/GetStream/stream-chat-java/issues/161

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Alternative way to assign image attachments to a channel?","articleBody":"As far as I can tell, the only way to assign an attachment to a channel is using the “file” property, which is the CDN URL. Those URLs are signed, and so I’m concerned about them expiring after 14 days, and the images would no longer be viewable in the channel. Is this true? Or is there another way to upload attachments to avoid this issue?\r\n\r\n![image](https://github.com/user-attachments/assets/43a20bb0-8d28-4906-8304-b84160668cc1)\r\n\r\nThis does not seem to be the same way you can upload attachments in the Node SDK. There, you can pass attachments directly, which would give me a little more confidence.\r\n\r\n```js\r\nconst promises = [\r\n  channel.sendImage(\r\n    fs.createReadStream('./cat.png'),\r\n    'cat.jpg',\r\n    'cat/jpg',\r\n    {id: \"some-user\"}\r\n  ),\r\n ];\r\n \r\n const results = await Promise.all(promises);\r\n const attachments = results.map(response =\u003e {\r\n   return {\r\n     type: 'image',\r\n     thumb_url: response.file,\r\n     asset_url: response.file,\r\n   };\r\n });\r\n\r\n const response = await channel.sendMessage({\r\n   text: 'I have uploaded things.',\r\n   attachments,\r\n   user\r\n });\r\n\r\n```","author":{"url":"https://github.com/alexmacarthur","@type":"Person","name":"alexmacarthur"},"datePublished":"2024-11-26T20:33:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/161/stream-chat-java/issues/161"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b7b3f864-c672-ac15-0531-812cb6ebc978
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9406:62FFD:11763D1:168C9D0:698FD84E
html-safe-nonce3b245739a3839de15d71fefd8b7cdeb2e48e4211062101733c5142c6c598cfd5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDA2OjYyRkZEOjExNzYzRDE6MTY4QzlEMDo2OThGRDg0RSIsInZpc2l0b3JfaWQiOiI1NTM2MDI3ODc5MjUzNDY1MTY2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace4efc2661df0beeeacc62ed2c960b5e38d858a082b088117d56d7c56e1cf19ce
hovercard-subject-tagissue:2695995385
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GetStream/stream-chat-java/161/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0f652739a7c1f762a421ee9a10d6d366f286ab035feca47eb78b6ae11a7f2ebc/GetStream/stream-chat-java/issues/161
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0f652739a7c1f762a421ee9a10d6d366f286ab035feca47eb78b6ae11a7f2ebc/GetStream/stream-chat-java/issues/161
og:image:altAs far as I can tell, the only way to assign an attachment to a channel is using the “file” property, which is the CDN URL. Those URLs are signed, and so I’m concerned about them expiring after 14 ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexmacarthur
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-preview
go-importgithub.com/GetStream/stream-chat-java git https://github.com/GetStream/stream-chat-java.git
octolytics-dimension-user_id8597527
octolytics-dimension-user_loginGetStream
octolytics-dimension-repository_id177873569
octolytics-dimension-repository_nwoGetStream/stream-chat-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id177873569
octolytics-dimension-repository_network_root_nwoGetStream/stream-chat-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released320682233dfd4d28c0b30554a564c2fcd229032
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues/161#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FGetStream%2Fstream-chat-java%2Fissues%2F161
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FGetStream%2Fstream-chat-java%2Fissues%2F161
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=GetStream%2Fstream-chat-java
Reloadhttps://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues/161
Reloadhttps://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues/161
Reloadhttps://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues/161
GetStream https://patch-diff.githubusercontent.com/GetStream
stream-chat-javahttps://patch-diff.githubusercontent.com/GetStream/stream-chat-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FGetStream%2Fstream-chat-java
Fork 13 https://patch-diff.githubusercontent.com/login?return_to=%2FGetStream%2Fstream-chat-java
Star 21 https://patch-diff.githubusercontent.com/login?return_to=%2FGetStream%2Fstream-chat-java
Code https://patch-diff.githubusercontent.com/GetStream/stream-chat-java
Issues 4 https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues
Pull requests 4 https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/pulls
Actions https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/actions
Security 0 https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/security
Insights https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/pulse
Code https://patch-diff.githubusercontent.com/GetStream/stream-chat-java
Issues https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues
Pull requests https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/pulls
Actions https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/actions
Security https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/security
Insights https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/GetStream/stream-chat-java/issues/161
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/GetStream/stream-chat-java/issues/161
Alternative way to assign image attachments to a channel?https://patch-diff.githubusercontent.com/GetStream/stream-chat-java/issues/161#top
https://github.com/alexmacarthur
https://github.com/alexmacarthur
alexmacarthurhttps://github.com/alexmacarthur
on Nov 26, 2024https://github.com/GetStream/stream-chat-java/issues/161#issue-2695995385
https://private-user-images.githubusercontent.com/8398220/390132755-43a20bb0-8d28-4906-8304-b84160668cc1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzEwMzUwMDIsIm5iZiI6MTc3MTAzNDcwMiwicGF0aCI6Ii84Mzk4MjIwLzM5MDEzMjc1NS00M2EyMGJiMC04ZDI4LTQ5MDYtODMwNC1iODQxNjA2NjhjYzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAyMTRUMDIwNTAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDE2YTQ5NmM2OTgxYjBmZDY3MTEyNjQxYTE2MTY1OTJiN2U2MTAzYTYyZGY4NTU3MWNlZWZiOTA4MzBkNjRhOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.jc111f8oosC_Q8J8TGETr3nptNu_49leFhhmiCCfYGY
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.