EPBubbleLayoutContext
public class EPBubbleLayoutContext : NSObject
The bubble layout context.
-
If
true
, the message is incoming (sent by the bot to the user).Declaration
Swift
public var isMessageIncoming: Bool
-
If
true
it means that an incoming bubble is followed by another incoming bubble or, an outgoing bubble is followed by another outgoing bubble.Declaration
Swift
public var isFollowedByTheSameBubble: Bool
-
Initializes the bubble layout context.
Declaration
Swift
public convenience init(isIncoming: Bool, isFollowed: Bool, isLast: Bool)
Parameters
isIncoming
true
if the message is incoming (sent by the bot).isFollowed
true
this incoming bubble is followed by another incoming bubble or, this outgoing bubble is followed by another outgoing bubble.