Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Video and Image diemensions field in respective class #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

himanshu-patel-dev
Copy link

@himanshu-patel-dev himanshu-patel-dev commented Oct 26, 2024

Both classes ImageConversationCard and VideoConversationCard have field which have data related to dimensions/size of Video/Image but these fields despite present in API are being dropped/ignored in class properties/attributes, thus consumer of this library can't assess data like 'image_display_height' on ImageConversationCard till now. Current fix enable the same for both Image and Video Conversation Card.

Issue Type: Improvement

Fixes / Relates To: #273

Changes Included:

  • Adding two properties image_display_height and image_display_width in ImageConversationCard class
  • Adding two properties video_width and video_height in VideoConversationCard class

@CLAassistant
Copy link

CLAassistant commented Oct 26, 2024

CLA assistant check
All committers have signed the CLA.

Both classes ImageConversationCard and VideoConversationCard
have field which have data related to dimensions/size of Video/Image
but these fields despite present in API are being dropped/ignored in
class properties/attributes, thus consumer of this library can't
assess data like 'image_display_height' on ImageConversationCard till
now. Current fix enable the same.
@himanshu-patel-dev himanshu-patel-dev changed the title Add Video and Image diemensions field in respective class Adds Video and Image diemensions field in respective class Oct 26, 2024
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.

2 participants