EditMessageText
public struct EditMessageText : Codable, Equatable, TDFunction
Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side
-
Undocumented
Declaration
Swift
public typealias Result = Message -
The chat the message belongs to
Declaration
Swift
public let chatId: Int53 -
Identifier of the message
Declaration
Swift
public let messageId: Int53 -
The new message reply markup; for bots only
Declaration
Swift
public let replyMarkup: ReplyMarkup? -
New text content of the message. Should be of type InputMessageText
Declaration
Swift
public let inputMessageContent: InputMessageContent -
Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side
Declaration
Swift
public init(chatId: Int53, messageId: Int53, replyMarkup: ReplyMarkup?, inputMessageContent: InputMessageContent)Parameters
chatIdThe chat the message belongs to
messageIdIdentifier of the message
replyMarkupThe new message reply markup; for bots only
inputMessageContentNew text content of the message. Should be of type InputMessageText
View on GitHub
Install in Dash
EditMessageText Structure Reference