withBody method
Create message with given body text.
If you specify MessageOptions.withBody then you will not be able to specify MessageOptions.withMedia because they are mutually exclusive message types. Created message type will be MessageType.TEXT.
Implementation
void withBody(String body) {
if (inputPath != null) {
throw Exception('MessageOptions.withMedia has already been specified');
}
this.body = body;
}