Customization: BubbleStyle

In the BubbleStyle structure, the default style options for the background UIView of the chat message

Description of BubbleStyle parameters:О
  • bubbleMarginLeft: CGFloat - the minimum indentation of the message from the left edge of the screen
  • bubbleMarginRight: CGFloat - the minimum indentation of the message from the right edge of the screen

  • bubbleRadius: CGFloat - corner radius
  • bubbleWidthMin: CGFloat - minimum message width
  • bubbleHeightMin: CGFloat - minimum message height
  • spacingOneSender: CGFloat - indentation between posts from different authors
  • spacingDifferentSender: CGFloat - indentation between posts from the same author
  • bubbleColorOutgoing: UIColor - outgoing message background color
  • bubbleColorIncoming: UIColor - the background color of the incoming message