Class EmbedBuilderUtils
public static class EmbedBuilderUtils
- Inheritance
-
EmbedBuilderUtils
- Inherited Members
Methods
Parse(string)
Parses a string into an EmbedBuilder.
public static EmbedBuilder Parse(string json)
Parameters
jsonstringThe json string to parse.
Returns
- EmbedBuilder
An EmbedBuilder with populated values from the passed
json.
Exceptions
- InvalidOperationException
Thrown if the string passed is not valid json.
TryParse(string, out EmbedBuilder)
Tries to parse a string into an EmbedBuilder.
public static bool TryParse(string json, out EmbedBuilder builder)
Parameters
jsonstringThe json string to parse.
builderEmbedBuilderThe EmbedBuilder with populated values. An empty instance if method returns false.