DraftMessage
public struct DraftMessage : Codable, Equatable, FunctionResult
Contains information about a message draft
-
Identifier of the message to reply to; 0 if none
Declaration
Swift
public let replyToMessageId: Int53 -
Content of the message draft; this should always be of type inputMessageText
Declaration
Swift
public let inputMessageText: InputMessageContent -
Contains information about a message draft
Declaration
Swift
public init(replyToMessageId: Int53, inputMessageText: InputMessageContent)Parameters
replyToMessageIdIdentifier of the message to reply to; 0 if none
inputMessageTextContent of the message draft; this should always be of type inputMessageText
View on GitHub
Install in Dash
DraftMessage Structure Reference