René's URL Explorer Experiment


Title: feat: implement disable/enable linkPreview support for Evolution Bot by dersonbsb2022 · Pull Request #1908 · EvolutionAPI/evolution-api · GitHub

Open Graph Title: feat: implement disable/enable linkPreview support for Evolution Bot by dersonbsb2022 · Pull Request #1908 · EvolutionAPI/evolution-api

X Title: feat: implement disable/enable linkPreview support for Evolution Bot by dersonbsb2022 · Pull Request #1908 · EvolutionAPI/evolution-api

Description: 📋 Summary This PR implements linkPreview support for Evolution Bot integration, allowing webhooks/n8n workflows to control whether link previews are displayed in WhatsApp messages. ✨ What's New Dynamic LinkPreview Control: Webhooks can now return linkPreview: false to disable link previews Flexible Response Format: Support for { "message": "text", "linkPreview": boolean } response format Debug Logging: Added comprehensive debug logs for linkPreview functionality Backward Compatible: Existing implementations continue to work without changes 🔧 Implementation Details File Modified: src/api/integrations/chatbot/evolutionBot/services/evolutionBot.service.ts Feature: Extract linkPreview from webhook response and pass to textMessage Usage: Return linkPreview: false from webhook to disable link previews in WhatsApp 📖 Usage Example Webhook Response: { "message": "Check this link: https://example.com", "linkPreview": false } ## Summary by Sourcery Implement link preview support in the Evolution Bot integration to allow webhooks or n8n workflows to dynamically enable or disable link previews in WhatsApp messages, while adding comprehensive debug logging and maintaining backward compatibility. New Features: - Allow webhook responses to include a linkPreview flag to control whether link previews are displayed in WhatsApp messages Enhancements: - Add detailed debug logs around HTTP requests, responses, message cleanup, and message sending - Refactor message dispatch to use textMessage with the linkPreview option instead of the base sendMessageWhatsApp method

Open Graph Description: 📋 Summary This PR implements linkPreview support for Evolution Bot integration, allowing webhooks/n8n workflows to control whether link previews are displayed in WhatsApp messages. ✨ What's New...

X Description: 📋 Summary This PR implements linkPreview support for Evolution Bot integration, allowing webhooks/n8n workflows to control whether link previews are displayed in WhatsApp messages. ✨ What's...

Opengraph URL: https://github.com/EvolutionAPI/evolution-api/pull/1908

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e506633a-78ee-109f-b6c1-8a03794670f6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8A9A:39E51F:1725744:1E0D623:696B2821
html-safe-nonce821603ea44c90c10cdca7614f4d8ce82d55885a5a47eeb3257e2032d9075844b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTlBOjM5RTUxRjoxNzI1NzQ0OjFFMEQ2MjM6Njk2QjI4MjEiLCJ2aXNpdG9yX2lkIjoiNDk5OTk3OTAyMjcyOTMxODczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacff1e154de1dc337a40f27fde2785c7e0e4e357cca6d7a19e62dcfec78fc9c51e
hovercard-subject-tagpull_request:2799838723
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/EvolutionAPI/evolution-api/pull/1908/files
twitter:imagehttps://avatars.githubusercontent.com/u/121053195?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/121053195?s=400&v=4
og:image:alt📋 Summary This PR implements linkPreview support for Evolution Bot integration, allowing webhooks/n8n workflows to control whether link previews are displayed in WhatsApp messages. ✨ What's New...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/EvolutionAPI/evolution-api git https://github.com/EvolutionAPI/evolution-api.git
octolytics-dimension-user_id136080052
octolytics-dimension-user_loginEvolutionAPI
octolytics-dimension-repository_id651487266
octolytics-dimension-repository_nwoEvolutionAPI/evolution-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id651487266
octolytics-dimension-repository_network_root_nwoEvolutionAPI/evolution-api
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/EvolutionAPI/evolution-api/pull/1908/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEvolutionAPI%2Fevolution-api%2Fpull%2F1908%2Ffiles
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FEvolutionAPI%2Fevolution-api%2Fpull%2F1908%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=EvolutionAPI%2Fevolution-api
Reloadhttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
Reloadhttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
Reloadhttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
EvolutionAPI https://github.com/EvolutionAPI
evolution-apihttps://github.com/EvolutionAPI/evolution-api
Notifications https://github.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Fork 5.3k https://github.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Star 6.8k https://github.com/login?return_to=%2FEvolutionAPI%2Fevolution-api
Code https://github.com/EvolutionAPI/evolution-api
Issues 332 https://github.com/EvolutionAPI/evolution-api/issues
Pull requests 8 https://github.com/EvolutionAPI/evolution-api/pulls
Actions https://github.com/EvolutionAPI/evolution-api/actions
Projects 0 https://github.com/EvolutionAPI/evolution-api/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/EvolutionAPI/evolution-api/security
Please reload this pagehttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
Insights https://github.com/EvolutionAPI/evolution-api/pulse
Code https://github.com/EvolutionAPI/evolution-api
Issues https://github.com/EvolutionAPI/evolution-api/issues
Pull requests https://github.com/EvolutionAPI/evolution-api/pulls
Actions https://github.com/EvolutionAPI/evolution-api/actions
Projects https://github.com/EvolutionAPI/evolution-api/projects
Security https://github.com/EvolutionAPI/evolution-api/security
Insights https://github.com/EvolutionAPI/evolution-api/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FEvolutionAPI%2Fevolution-api%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FEvolutionAPI%2Fevolution-api%2Fissues%2Fnew%2Fchoose
DavidsonGomeshttps://github.com/DavidsonGomes
EvolutionAPI:develophttps://github.com/EvolutionAPI/evolution-api/tree/develop
Conversation 5 https://github.com/EvolutionAPI/evolution-api/pull/1908
Commits 6 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits
Checks 1 https://github.com/EvolutionAPI/evolution-api/pull/1908/checks
Files changed https://github.com/EvolutionAPI/evolution-api/pull/1908/files
Please reload this pagehttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
feat: implement disable/enable linkPreview support for Evolution Bot https://github.com/EvolutionAPI/evolution-api/pull/1908/files#top
Show all changes 6 commits https://github.com/EvolutionAPI/evolution-api/pull/1908/files
70a2c18 Merge branch 'release/2.3.2' DavidsonGomes Sep 2, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/70a2c18146f227e7613993dd8faa485028640df3
c2085b5 Merge branch 'release/2.3.2' DavidsonGomes Sep 2, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/c2085b59eabeb81f6af543a7d04f94a95f4a4c20
02b81be feat: implement linkPreview support for Evolution Bot dersonbsb2022 Sep 3, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/02b81beb7ab017fa2d37d3406eb707d7644989b4
ceddace chore: remove documentation .md files dersonbsb2022 Sep 3, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/ceddace91513e22e252b6ef4cc002e953f5aeb86
1be58c8 refactor: improve linkPreview implementation based on PR feedback dersonbsb2022 Sep 4, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/1be58c8487ec669d0a1eec3168edad04469674ba
4f13a8a style: clean up code formatting for linkPreview implementation dersonbsb2022 Sep 4, 2025 https://github.com/EvolutionAPI/evolution-api/pull/1908/commits/4f13a8ac2800a6701ab463840f2e3cb9b0674cd9
Clear filters https://github.com/EvolutionAPI/evolution-api/pull/1908/files
Please reload this pagehttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
Please reload this pagehttps://github.com/EvolutionAPI/evolution-api/pull/1908/files
src/api/integrations/chatbot/evolutionBot/services/evolutionBot.service.tshttps://github.com/EvolutionAPI/evolution-api/pull/1908/files#diff-3530c3d314d97b05a331735ff06ae3cd2997523f7bb42709b5db68f26f9272e4
View file https://github.com/EvolutionAPI/evolution-api/blob/4f13a8ac2800a6701ab463840f2e3cb9b0674cd9/src/api/integrations/chatbot/evolutionBot/services/evolutionBot.service.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/EvolutionAPI/evolution-api/pull/1908/{{ revealButtonHref }}
https://github.com/EvolutionAPI/evolution-api/pull/1908/files#diff-3530c3d314d97b05a331735ff06ae3cd2997523f7bb42709b5db68f26f9272e4
https://github.com/EvolutionAPI/evolution-api/pull/1908/files#diff-3530c3d314d97b05a331735ff06ae3cd2997523f7bb42709b5db68f26f9272e4
https://github.com/EvolutionAPI/evolution-api/pull/1908/files#diff-3530c3d314d97b05a331735ff06ae3cd2997523f7bb42709b5db68f26f9272e4
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.