PublicMessageLink

public struct PublicMessageLink : Codable, Equatable, FunctionResult

Contains a public HTTPS link to a message in a supergroup or channel with a username

  • Message link

    Declaration

    Swift

    public let link: String
  • HTML-code for embedding the message

    Declaration

    Swift

    public let html: String
  • Contains a public HTTPS link to a message in a supergroup or channel with a username

    Declaration

    Swift

    public init(link: String, html: String)

    Parameters

    link

    Message link

    html

    HTML-code for embedding the message