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
replyToMessageId
Identifier of the message to reply to; 0 if none
inputMessageText
Content of the message draft; this should always be of type inputMessageText