Class Attachment

  • All Implemented Interfaces:
    io.getstream.chat.android.models.CustomObject

    @Immutable() 
    public final class Attachment
     implements CustomObject
                        

    Represents an attachment. Most commonly these are files, images, videos and audio recordings, but the class is flexible enough that it can represent other things as well such as a date, a given location or other things.

    If you want to create a custom attachment we suggest you use extraData to store the information you need.