Documentation ¶
Overview ¶
Conversion from Drafty to plain text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToPlainText ¶
DraftyToPlainText converts message payload from Drafy format to string. If content is a string, then it's returned unchanged. If content is not recognized as either Drafy (as a map[string]interface{}) or string, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.