ChatCommandSuggestionView
A view that displays the command name, image and arguments.
open class ChatCommandSuggestionView: _View, AppearanceProvider
Inheritance
Properties
content
The command that the view will display.
open var content: Command?
commandImageView
A view that displays the command image icon.
open private(set) lazy var commandImageView: UIImageView = UIImageView()
.withoutAutoresizingMaskConstraints
commandNameLabel
A view that displays the name of the command.
open private(set) lazy var commandNameLabel: UILabel = UILabel()
.withoutAutoresizingMaskConstraints
.withAdjustingFontForContentSizeCategory
.withBidirectionalLanguagesSupport
commandNameSubtitleLabel
A view that display the command name and the possible arguments.
open private(set) lazy var commandNameSubtitleLabel: UILabel = UILabel()
.withoutAutoresizingMaskConstraints
.withAdjustingFontForContentSizeCategory
.withBidirectionalLanguagesSupport
textContainer
A view container that holds the name and subtitle labels.
open private(set) lazy var textContainer = ContainerStackView()
.withoutAutoresizingMaskConstraints
Methods
setUpAppearance()
override open func setUpAppearance()
setUpLayout()
override open func setUpLayout()
updateContent()
override open func updateContent()