Closed StephenTangCook closed 6 months ago
Update the types of original_w and original_h fields to be number for various slack File-related types.
original_w
original_h
number
Example UploadedFile object when uploading a file via a modal (note original_w and original_h):
UploadedFile
{ id: 'F06KZDE4L2Z', created: 1708578780, timestamp: 1708578780, name: 'screely-1708464493924.png', title: 'screely-1708464493924.png', mimetype: 'image/png', filetype: 'png', pretty_type: 'PNG', user: ..., user_team: ..., editable: false, size: 2187248, mode: 'hosted', is_external: false, external_type: '', is_public: false, public_url_shared: false, display_as_bot: false, username: ..., url_private: ..., url_private_download: ..., media_display_type: 'unknown', thumb_... original_w: 2654, original_h: 1358, thumb_tiny: ..., permalink: ..., permalink_public: ..., comments_count: 0, shares: {}, channels: [], groups: [], ims: [], has_more_shares: false, has_rich_preview: false, file_access: 'visible' }
Change
Update the types of
original_w
andoriginal_h
fields to benumber
for various slack File-related types.Ref
Example
UploadedFile
object when uploading a file via a modal (noteoriginal_w
andoriginal_h
):