fun BotBus.withPublicTwitter(messageProvider: () -> TwitterPublicConnectorMessage): BotBus
(source)
Adds a Twitter ConnectorMessage if the current connector is Twitter and the interface is public. You need to call BotBus.send or BotBus.end later to send this message.