MinChat Documentation
SupportHome
  • Introduction
  • Getting Started
    • Using Vanilla Javascript
    • Using React
    • Using React Native
  • Webhooks
    • Overview
  • Rest APIs
    • Overview
  • Websockets
    • Overview
  • Customize UI
    • Customizing React UI
  • Reference
    • User
    • Message
    • File
  • Javascript SDK
    • Overview
    • Conversation (Chat)
  • React SDK
    • Overview
    • useChats hook
    • useMessages hook
    • useUser hook
    • useMinChat
    • Conversation (Chat)
  • React Native SDK
    • Overview
    • useChats hook
    • useMessages hook
    • useUser hook
    • useMinChat
    • Conversation (Chat)
    • File
Powered by GitBook
On this page

Was this helpful?

  1. React Native SDK

File

A React Native File object used to send files

interface File {
    uri: string;
    fileName?: string;
    type: string;
}

Properties

Field
Type
State
Description

uri

string

required

the uri to the file

fileName

string

optional

the name of the file

type

string

required

the file type i.e image/jpeg

Last updated 1 year ago

Was this helpful?