Body
public enum Body : Codable
Message body
- text: A single text message
- upload: File description and FileUpload instance
- file: URL where file is hosted and file description
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public init(from decoder: Decoder) throws