amazon-connect / amazon-connect-chatjs

Amazon Connect ChatJS - a browser-based contact center integration API for Chat on the Agent and Customer side.
https://docs.aws.amazon.com/connect/latest/adminguide/what-is-amazon-connect.html
Apache License 2.0
91 stars 53 forks source link

add note to chatSession.sendAttachment in README; addresses #100 #179

Closed spencerlepine closed 1 year ago

spencerlepine commented 1 year ago

Issue #, if available: https://github.com/amazon-connect/amazon-connect-chatjs/issues/100

Description of changes: Add note to chatSession.sendAttachment README documentation

❌ BEFORE: https://github.com/amazon-connect/amazon-connect-chatjs/tree/11edb40b953f8f40b51913d0e5974eca1647aedd#chatsessionsendattachment

✅ AFTER: https://github.com/amazon-connect/amazon-connect-chatjs/tree/spenlep/attachment-documentation-update#chatsessionsendattachment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

spencerlepine commented 1 year ago

Merging, got approvals internally

senghuotlay commented 1 month ago

@spencerlepine how would u do it on react-native as react native doesn't have File type, and i am currently using react-native-image-picker therefore the file type is this


    base64?: string;
    uri?: string;
    width?: number;
    height?: number;
    fileSize?: number;
    type?: string;
    fileName?: string;
    duration?: number;
    bitrate?: number;
    timestamp?: string;
    id?: string;
}```