Instance Method

addField(_:value:isInline:)

Adds a field to the embed

Declaration

func addField(_ name: String, value: String, isInline: Bool = false) -> Self

Parameters

name

Name to give field

value

Text that will be displayed underneath name

inline

Whether or not to keep this field inline with others