# AVAMessageItem

Objective-C

    @interface AVAMessageItem : NSObject

Swift

    class AVAMessageItem : NSObject

A class representing a message item.

- `title`

  @abstract The title of the item

  #### Declaration

  Objective-C

      @property (copy, nullable) NSString *title;

  Swift

      var title: String? { get set }

- `actions`

  @abstract Array of `AVAMessageAction` buttons

  See

  AVAMessageAction

  #### Declaration

  Objective-C

      @property (nullable) NSArray *actions;

  Swift

      var actions: [Any]? { get set }

- `itemDescription`

  @abstract The text description, or subtitle

  #### Declaration

  Objective-C

      @property (copy, nullable) NSString *itemDescription;

  Swift

      var itemDescription: String? { get set }

- `mediaUrl`

  @abstract The image URL to be shown in the item

  #### Declaration

  Objective-C

      @property (copy, nullable) NSString *mediaUrl;

  Swift

      var mediaUrl: String? { get set }

- `mediaType`

  @abstract The mediaType of the `mediaUrl`

  #### Declaration

  Objective-C

      @property (copy, nullable) NSString *mediaType;

  Swift

      var mediaType: String? { get set }

- `metadata`

  @abstract Metadata associated with the message item.

  @discussion A flat dictionary of metadata set through the REST API. May be nil.

  #### Declaration

  Objective-C

      @property (nullable) NSDictionary *metadata;

  Swift

      var metadata: [AnyHashable : Any]? { get set }

© 2022 . All rights reserved. (Last updated: 2022-06-30)

Generated by jazzy ♪♫ v0.14.2, a Realm project.