GetMessageLink

public struct GetMessageLink : Codable, Equatable, TDFunction

Returns a private HTTPS link to a message in a chat. Available only for already sent messages in supergroups and channels. The link will work only for members of the chat

  • Undocumented

    Declaration

    Swift

    public typealias Result = HttpUrl
  • Identifier of the chat to which the message belongs

    Declaration

    Swift

    public let chatId: Int53
  • Identifier of the message

    Declaration

    Swift

    public let messageId: Int53
  • Returns a private HTTPS link to a message in a chat. Available only for already sent messages in supergroups and channels. The link will work only for members of the chat

    Declaration

    Swift

    public init(chatId: Int53, messageId: Int53)

    Parameters

    chatId

    Identifier of the chat to which the message belongs

    messageId

    Identifier of the message