setLeadingContent
fun <V : View, MessageComposerContent> setLeadingContent(contentView: V, layoutParams: FrameLayout.LayoutParams = FrameLayout.LayoutParams(
FrameLayout.LayoutParams.WRAP_CONTENT,
FrameLayout.LayoutParams.WRAP_CONTENT,
Gravity.BOTTOM,
))
Sets custom leading content view. It must implement MessageComposerContent interface and should render integration buttons according to the received state. The current mode is propagated to the contentView in the MessageComposerContent.renderState function.
Parameters
contentView
The View which shows a section with integrations.
layoutParams
The layout parameters to set on the content view.