Creates an attributed string with an attachment.
- iOS 7.0+
- macOS 10.0+
- tvOS 9.0+
An attributed string containing the attachment.
This is a convenience method for creating an attributed string containing an attachment using
character as the base character.