Customization: InputViewStyle

The InputViewStyle structure describes the parameters of the message input element

Description of InputViewStyle parameters:
  • viewBackColor: UIColor - background color of the message input element (gray in the pic)
  • textBackColor: UIColor - background color of the message input text (white in the pic)
  • textColor: UIColor - text color
  • placeholderTextColor: UIColor - placeholder text color
  • font: UIFont - text font
  • textHeightMin: CGFloat - minimum text height
  • textHeightMax: CGFloat - maximum text height
  • textMargin: UIEdgeInsets - external indents of the message text relative to the background of the text

inputTextViewBorderWidth: CGFloat - the width of the background message text frame

inputTextViewBorderColor: UIColor - background border message text color

  • inputTextViewRadius: CGFloat - the radius of the background rounding message text
  • inputTextViewMargin: UIEdgeInsets - outer indents of the message text background. Top and bottom indents are taken into account

  • heightAssetsCollection: CGFloat - collection height with photo/video

topMarginAssetsCollection: CGFloat - outer top indent of the collection with photo/video to the message input field