EditInlineMessageMedia

public struct EditInlineMessageMedia : Codable, Equatable, TDFunction

Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Inline message identifier

    Declaration

    Swift

    public let inlineMessageId: String
  • The new message reply markup; for bots only

    Declaration

    Swift

    public let replyMarkup: ReplyMarkup?
  • New content of the message. Must be one of the following types: InputMessageAnimation, InputMessageAudio, InputMessageDocument, InputMessagePhoto or InputMessageVideo

    Declaration

    Swift

    public let inputMessageContent: InputMessageContent
  • Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only

    Declaration

    Swift

    public init(inlineMessageId: String, replyMarkup: ReplyMarkup?, inputMessageContent: InputMessageContent)

    Parameters

    inlineMessageId

    Inline message identifier

    replyMarkup

    The new message reply markup; for bots only

    inputMessageContent

    New content of the message. Must be one of the following types: InputMessageAnimation, InputMessageAudio, InputMessageDocument, InputMessagePhoto or InputMessageVideo