Skip to main content

text_content

Method
This is a method of the BotMessage class in the bots module.
Get text content if available.

Signature

def text_content(&self) -> Option<&str>

Returns

Returns
Option<&str>
The result of the operation.