Skip to content

Add DescribeView API support#96

Merged
saipreetham16 merged 1 commit intomainfrom
sleburu-describe-view
Jan 31, 2026
Merged

Add DescribeView API support#96
saipreetham16 merged 1 commit intomainfrom
sleburu-describe-view

Conversation

@saipreetham16
Copy link
Copy Markdown
Contributor

Description

Add support for the DescribeView API to retrieve view content for interactive messages using the ShowView block in contact flows.

Changes

SDK Changes

  • Add ChatSession.describeView(viewToken) API to fetch view resource metadata
  • Add View and ViewContent model classes for view response data
  • Add ViewResourceContent for parsing ShowView interactive messages with viewId and viewToken
  • Implement describeView in AWSClient using AWS SDK's DescribeViewRequest/DescribeViewResult
  • Add VIEW_RESOURCE constant for interactive message template type
  • Bump awsSdkConnectParticipant from 2.73.0 to 2.81.1 to support describeView as 2.73.0 don't have it.

Example App Changes

  • Add ViewContentView composable for rendering ShowView messages
  • Add ViewResource logging in onMessageReceived and fetchTranscript
  • Add interactive content type to SupportedMessagingContentTypes
  • Update ChatComponents to render ViewResourceContent

Documentation

  • Add describeView API documentation to README
  • Add View and ViewContent class documentation
  • Update Custom AWSClient table with describeView method

Testing

  • Verified SDK and app compile successfully
  • Tested with ShowView contact flow block
Screen.Recording.2026-01-28.at.10.57.45.PM.mov

@saipreetham16 saipreetham16 requested a review from a team as a code owner January 29, 2026 07:08
@saipreetham16 saipreetham16 requested review from bigO68, haomingli2020, mliao95 and xiajon and removed request for bigO68 and xiajon January 29, 2026 07:08
@saipreetham16 saipreetham16 merged commit f51bc8d into main Jan 31, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants