feat: Add chat.getURLPreview endpoint - #30478
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: a73e494 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #30478 +/- ##
===========================================
+ Coverage 49.53% 49.56% +0.02%
===========================================
Files 3311 3311
Lines 81470 81473 +3
Branches 16706 16706
===========================================
+ Hits 40360 40385 +25
+ Misses 36408 36397 -11
+ Partials 4702 4691 -11
Flags with carried forward coverage won't be shown. Click here to find out more. |
matheusbsilva137
marked this pull request as ready for review
September 23, 2023 02:18
heitortanoue
previously approved these changes
Sep 27, 2023
Contributor
|
This PR currently has a merge conflict. Please resolve this and then re-add the |
…nto new/preview-url-endpoint
MarcosSpessatto
suggested changes
Nov 3, 2023
MarcosSpessatto
previously approved these changes
Dec 11, 2023
sampaiodiego
requested changes
Dec 11, 2023
Contributor
|
This PR currently has a merge conflict. Please resolve this and then re-add the |
sampaiodiego
approved these changes
Jan 19, 2024
gabriellsh
added a commit
that referenced
this pull request
Jan 19, 2024
…/emailEmoji * 'develop' of github.com:RocketChat/Rocket.Chat: (166 commits) feat: Add `chat.getURLPreview` endpoint (#30478) chore: QoL changes for Omnichannel (#31468) fix: add missing labels to UsersByTimeOfTheDaySection (#31368) refactor: Remove `Notifications` module (#31463) i18n: zh translation error (#21600) feat: `Bubble` on new messages indicators (#31478) test: fix flaky setGuestName test (#31486) Release 6.5.3 chore: RateLimiter to async (#31480) chore: Revert "chore: Add missing changeset file" (#31481) chore: Remove `MessageContentBody` additional styles (#31476) chore: Replace `Notifications` module in favor of `SDK` inside CachedCollection (#31424) chore: improve backend startup (#31479) chore: fix embedded livechat tests (#31477) fix: Department name being double escaped (#31454) chore: Remove unnecessary changeset file (#31472) chore(eslint-config): Include missing ESLint configuration for React (#30977) refactor: Replace `Notifications` module in favor of `sdk` for Omnichannel/WebRTC (#31460) refactor: Replace `Notifications` module in favor of `sdk` for Video Conf (#31462) feat: Add support to cancel editing message action (#31347) ...
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes (including videos or screenshots)
chat.getURLPreviewendpoint to enable users to retrieve URL previews prior to sending messages.Issue(s)
Steps to test or reproduce
This endpoint requires
urlandroomIdproperties.Example request (cURL):
Example response
Example request for sending a message with previously generated previews
parseUrlsparam must be sent so that previews are not re-generated (when this param is sent, we use the previews sent to the endpoint, no new ones are generated)Further comments
TC-938