Message Class

extends Base

Represents a message

Properties

  • animation: Animation
  • audio: Audio
  • authorSignature: string
  • boostAdded: ChatBoostAdded
  • businessConnectionId: string
  • caption: string
  • captionEntities:
  • channelChatCreated: boolean
  • chat: Chat
  • chatBackgroundSet: any
  • chatShared: ChatShared
  • client: Client
  • connectedWebsite: string
  • contact: Contact
  • date: Date
  • deleteChatPhoto: boolean
  • dice: Dice
  • document: Document
  • editDate: Date
  • effectId: string
  • entities:
  • externalReply: ExternalReplyInfo
  • forumTopicClosed: ForumTopicClosed
  • forumTopicCreated: ForumTopicCreated
  • forumTopicEdited: ForumTopicEdited
  • forumTopicReopened: ForumTopicReopened
  • forwardOrigin: MessageOrigin
  • game: Game
  • generalForumTopicHidden: GeneralForumTopicHidden
  • generalForumTopicUnhidden: GeneralForumTopicUnhidden
  • giveaway: Giveaway
  • giveawayCompleted: GiveawayCompleted
  • giveawayCreated: GiveawayCreated
  • giveawayWinners: GiveawayWinners
  • groupChatCreated: boolean
  • hasMediaSpoiler: boolean
  • hasProtectedContent: boolean
  • id: number
  • invoice: Invoice
  • isAutomaticForward: boolean
  • isFromOffline: boolean
  • isTopicMessage: boolean
  • leftChatMember:
  • linkPreviewOptions: LinkPreviewOptions
  • location: Location
  • mediaGroupId: string
  • messageAutoDeleteTimerChanged: MessageAutoDeleteTimerChanged
  • migrateFromChatId: number
  • migrateToChatId: number
  • newChatMembers:
  • newChatPhoto:
  • newChatTitle: string
  • paidMedia: PaidMediaInfo
  • passportData: any
  • photo:
  • pinnedMessage: Message
  • poll: Poll
  • proximityAlertTriggered: ProximityAlertTriggered
  • quote: TextQuote
  • replyMarkup: InlineKeyboardMarkup
  • replyToMessage: Message
  • replyToStory: Story
  • sender: User
  • senderBoostCount: number
  • senderBusinessBot: User
  • senderChat: Chat
  • showCaptionAboveMedia: boolean
  • sticker: Sticker
  • story: Story
  • successfulPayment: SuccessfulPayment
  • superGroupChatCreated: boolean
  • text: string
  • threadId: number
  • userShared: User
  • venue: Venue
  • viaBot: User
  • video: Video
  • videoChatEnded: VideoChatEnded
  • videoChatParticipantsInvited: VideoChatParticipantsInvited
  • videoChatScheduled: VideoChatScheduled
  • videoChatStarted: VideoChatStarted
  • videoNote: VideoNote
  • voice: Voice
  • webAppData: WebAppData
  • writeAccessAllowed: WriteAccessAlowed

Methods

  • copy(chatId: ChatId, options?: MessageCopyOptions)
  • delete()
  • editCaption(caption: undefined, options?: MessageEditCaptionOptions)
  • editMedia(media: InputMedia, options?: MessageEditMediaOptions)
  • editReplyMarkup(markup: InlineKeyboardMarkup, options?: MessageEditCaptionOptions)
  • editText(text: string, options?: MessageEditTextOptions)
  • forward(chatId: ChatId, options?: MessageForwardOptions)
  • pin(options?: ChatMessagePinOptions)
  • setReaction(reaction?: undefined, options?: MessageReactionSetOptons)
  • stopPoll(options?: PollStopOptions)
  • unpin()
{
  "id": 1495,
  "name": "Message",
  "variant": "declaration",
  "kind": 128,
  "flags": {},
  "comment": {
    "summary": [
      {
        "kind": "text",
        "text": "Represents a message"
      }
    ]
  },
  "children": [
    {
      "id": 1496,
      "name": "constructor",
      "variant": "declaration",
      "kind": 512,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 390,
          "character": 1
        }
      ],
      "signatures": [
        {
          "id": 1497,
          "name": "new Message",
          "variant": "signature",
          "kind": 16384,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 390,
              "character": 1
            }
          ],
          "parameters": [
            {
              "id": 1498,
              "name": "client",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "reference",
                "target": 1,
                "name": "Client",
                "package": "tgkit",
                "qualifiedName": "default"
              }
            },
            {
              "id": 1499,
              "name": "data",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "intrinsic",
                "name": "any"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": 1495,
            "name": "Message",
            "package": "tgkit",
            "qualifiedName": "default"
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "Base.constructor"
          }
        }
      ],
      "overwrites": {
        "type": "reference",
        "target": -1,
        "name": "Base.constructor"
      }
    },
    {
      "id": 1526,
      "name": "animation",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is an animation, information about the animation.\nFor backward compatibility, when this field is set, the "
          },
          {
            "kind": "code",
            "text": "`document`"
          },
          {
            "kind": "text",
            "text": " field will also be set"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 147,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 617,
        "name": "Animation",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1527,
      "name": "audio",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is an audio file, information about the file"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 150,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 632,
        "name": "Audio",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1521,
      "name": "authorSignature",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Signature of the post author for messages in channels,\nor the custom title of an anonymous group administrator"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 126,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1566,
      "name": "boostAdded",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 307,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2881,
        "name": "ChatBoostAdded",
        "package": "tgkit"
      }
    },
    {
      "id": 1507,
      "name": "businessConnectionId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Unique identifier of the business connection from which the message was received.\nIf non-empty, the message belongs to a chat of the corresponding business account that is independent\nfrom any potential bot chat which might share the same identifier."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 75,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1536,
      "name": "caption",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Caption for the animation, audio, document, photo, video or voice"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 177,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1537,
      "name": "captionEntities",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For messages with a caption, special entities like usernames,\nURLs, bot commands, etc. that appear in the caption"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 183,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1625,
          "name": "MessageEntity",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1553,
      "name": "channelChatCreated",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nThe channel has been created.\n\nThis field can't be received in a message coming through updates,\nbecause bot can't be a member of a supergroup when it is created.\nIt can only be found in "
          },
          {
            "kind": "code",
            "text": "`replyToMessage`"
          },
          {
            "kind": "text",
            "text": " if someone replies\nto a very first message in a directly created supergroup."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 277,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1508,
      "name": "chat",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Conversation the message belongs to"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 78,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 689,
        "name": "Chat",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1567,
      "name": "chatBackgroundSet",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 309,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "any"
      }
    },
    {
      "id": 1561,
      "name": "chatShared",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 295,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1223,
        "name": "ChatShared",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1624,
      "name": "client",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isInherited": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Base.ts",
          "line": 4,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1,
        "name": "Client",
        "package": "tgkit",
        "qualifiedName": "default"
      },
      "inheritedFrom": {
        "type": "reference",
        "target": -1,
        "name": "Base.client"
      }
    },
    {
      "id": 1562,
      "name": "connectedWebsite",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "The domain name of the website on which the user has logged in"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 298,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1540,
      "name": "contact",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a shared contact, information about the contact"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 192,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1254,
        "name": "Contact",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1506,
      "name": "date",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Date the message was sent"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 68,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": {
          "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
          "qualifiedName": "Date"
        },
        "name": "Date",
        "package": "typescript"
      }
    },
    {
      "id": 1550,
      "name": "deleteChatPhoto",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nThe chat photo was deleted"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 246,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1541,
      "name": "dice",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a dice with random value"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 195,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1265,
        "name": "Dice",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1528,
      "name": "document",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a general file, information about the file"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 153,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1273,
        "name": "Document",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1517,
      "name": "editDate",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Date the message was last edited"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 108,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": {
          "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
          "qualifiedName": "Date"
        },
        "name": "Date",
        "package": "typescript"
      }
    },
    {
      "id": 1525,
      "name": "effectId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Unique identifier of the message effect added to the message"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 141,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1523,
      "name": "entities",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 132,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1625,
          "name": "MessageEntity",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1513,
      "name": "externalReply",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Information about the message that is being replied to, which may come from another chat or forum topic"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 96,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2817,
        "name": "ExternalReplyInfo",
        "package": "tgkit"
      }
    },
    {
      "id": 1570,
      "name": "forumTopicClosed",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 316,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2890,
        "name": "ForumTopicClosed",
        "package": "tgkit"
      }
    },
    {
      "id": 1568,
      "name": "forumTopicCreated",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 312,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2883,
        "name": "ForumTopicCreated",
        "package": "tgkit"
      }
    },
    {
      "id": 1569,
      "name": "forumTopicEdited",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 314,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2887,
        "name": "ForumTopicEdited",
        "package": "tgkit"
      }
    },
    {
      "id": 1571,
      "name": "forumTopicReopened",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 318,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2891,
        "name": "ForumTopicReopened",
        "package": "tgkit"
      }
    },
    {
      "id": 1509,
      "name": "forwardOrigin",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Information about the original message for forwarded messages"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 81,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1640,
        "name": "MessageOrigin",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1542,
      "name": "game",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a game, information about the game."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 198,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1305,
        "name": "Game",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1572,
      "name": "generalForumTopicHidden",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 320,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2892,
        "name": "GeneralForumTopicHidden",
        "package": "tgkit"
      }
    },
    {
      "id": 1573,
      "name": "generalForumTopicUnhidden",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 322,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2893,
        "name": "GeneralForumTopicUnhidden",
        "package": "tgkit"
      }
    },
    {
      "id": 1575,
      "name": "giveaway",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 326,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1326,
        "name": "Giveaway",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1577,
      "name": "giveawayCompleted",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 330,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2859,
        "name": "GiveawayCompleted",
        "package": "tgkit"
      }
    },
    {
      "id": 1574,
      "name": "giveawayCreated",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 324,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2846,
        "name": "GiveawayCreated",
        "package": "tgkit"
      }
    },
    {
      "id": 1576,
      "name": "giveawayWinners",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 328,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2847,
        "name": "GiveawayWinners",
        "package": "tgkit"
      }
    },
    {
      "id": 1551,
      "name": "groupChatCreated",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nThe group has been created"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 253,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1539,
      "name": "hasMediaSpoiler",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "*true*, if the message media is covered by a spoiler animation"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 189,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1518,
      "name": "hasProtectedContent",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "*true*, if the message can't be forwarded"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 111,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1500,
      "name": "id",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Unique message identifier inside this chat"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 37,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "number"
      }
    },
    {
      "id": 1558,
      "name": "invoice",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is an invoice for a payment, information about the invoice."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 289,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1410,
        "name": "Invoice",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1511,
      "name": "isAutomaticForward",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Whether the message is a channel post that was automatically forwarded to the connected discussion group"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 87,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1519,
      "name": "isFromOffline",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Whether the message was sent by an implicit action, for example,\nas an away or a greeting business message, or as a scheduled message"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 117,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1510,
      "name": "isTopicMessage",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Whether the message is sent to a forum topic"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 84,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1547,
      "name": "leftChatMember",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nA member was removed from the group, information about them (this member may be the bot itself)"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 225,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1888,
          "name": "User",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1524,
      "name": "linkPreviewOptions",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Options used for link preview generation for the message,\nif it is a text message and link preview options were changed"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 138,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2863,
        "name": "LinkPreviewOptions",
        "package": "tgkit"
      }
    },
    {
      "id": 1545,
      "name": "location",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a location, information about the location"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 210,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1455,
        "name": "Location",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1520,
      "name": "mediaGroupId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "The unique identifier of a media message group this message belongs to"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 120,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1554,
      "name": "messageAutoDeleteTimerChanged",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 279,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2802,
        "name": "MessageAutoDeleteTimerChanged",
        "package": "tgkit"
      }
    },
    {
      "id": 1556,
      "name": "migrateFromChatId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 283,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "number"
      }
    },
    {
      "id": 1555,
      "name": "migrateToChatId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 281,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "number"
      }
    },
    {
      "id": 1546,
      "name": "newChatMembers",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nNew members that were added to the group or supergroup and information about them\n(the bot itself may be one of these members)"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 218,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1888,
          "name": "User",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1549,
      "name": "newChatPhoto",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nA chat photo was change to this value"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 239,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1726,
          "name": "PhotoSize",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1548,
      "name": "newChatTitle",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nA chat title was changed to this value"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 232,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1529,
      "name": "paidMedia",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message contains paid media; information about the paid media"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 156,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2869,
        "name": "PaidMediaInfo",
        "package": "tgkit"
      }
    },
    {
      "id": 1564,
      "name": "passportData",
      "variant": "declaration",
      "kind": 1024,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 302,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "any"
      }
    },
    {
      "id": 1530,
      "name": "photo",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a photo, available sizes of the photo"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 159,
          "character": 1
        }
      ],
      "type": {
        "type": "array",
        "elementType": {
          "type": "reference",
          "target": 1726,
          "name": "PhotoSize",
          "package": "tgkit",
          "qualifiedName": "default"
        }
      }
    },
    {
      "id": 1557,
      "name": "pinnedMessage",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Specified message was pinned."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 286,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1495,
        "name": "Message",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1543,
      "name": "poll",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a native poll, information about the poll"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 201,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1737,
        "name": "Poll",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1565,
      "name": "proximityAlertTriggered",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 305,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2877,
        "name": "ProximityAlertTriggered",
        "package": "tgkit"
      }
    },
    {
      "id": 1514,
      "name": "quote",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For replies that quote part of the original message, the quoted part of the message"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 99,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1878,
        "name": "TextQuote",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1583,
      "name": "replyMarkup",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 342,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1379,
        "name": "InlineKeyboardMarkup",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1512,
      "name": "replyToMessage",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For replies in the same chat and message thread, the original message. Note that the Message\nin this field will not contain further "
          },
          {
            "kind": "code",
            "text": "`replyToMessage`"
          },
          {
            "kind": "text",
            "text": " fields even if it itself is a reply."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 93,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1495,
        "name": "Message",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1515,
      "name": "replyToStory",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For replies to a story, the original story"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 102,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1870,
        "name": "Story",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1502,
      "name": "sender",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Sender of the message; empty for messages sent to channels.\nFor backward compatibility, the field contains a fake sender user in non-channel chats,\nif the message was sent on behalf of a chat."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 47,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1888,
        "name": "User",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1504,
      "name": "senderBoostCount",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "If the sender of the message boosted the chat, the number of boosts added by the user"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 59,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "number"
      }
    },
    {
      "id": 1505,
      "name": "senderBusinessBot",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "The bot that actually sent the message on behalf of the business account.\nAvailable only for outgoing messages sent on behalf of the connected business account."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 65,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1888,
        "name": "User",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1503,
      "name": "senderChat",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Sender of the message, sent on behalf of a chat.\nFor example, the channel itself for channel posts, the supergroup itself for messages from anonymous\ngroup administrators, the linked channel for messages automatically forwarded to the discussion group.\nFor backward compatibility, the field "
          },
          {
            "kind": "code",
            "text": "`author`"
          },
          {
            "kind": "text",
            "text": " contains a fake sender user in non-channel chats,\nif the message was sent on behalf of a chat."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 56,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 689,
        "name": "Chat",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1538,
      "name": "showCaptionAboveMedia",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "*true*, if the caption must be shown above the message media"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 186,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1531,
      "name": "sticker",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a sticker, information about the sticker"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 162,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1836,
        "name": "Sticker",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1532,
      "name": "story",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a forwarded story"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 165,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1870,
        "name": "Story",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1559,
      "name": "successfulPayment",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 291,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2804,
        "name": "SuccessfulPayment",
        "package": "tgkit"
      }
    },
    {
      "id": 1552,
      "name": "superGroupChatCreated",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Service message.\n\nThe supergroup has been created.\n\nThis field can't be received in a message coming through updates,\nbecause bot can't be a member of a supergroup when it is created.\nIt can only be found in "
          },
          {
            "kind": "code",
            "text": "`replyToMessage`"
          },
          {
            "kind": "text",
            "text": " if someone replies\nto a very first message in a directly created supergroup."
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 265,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "boolean"
      }
    },
    {
      "id": 1522,
      "name": "text",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "For text messages, the actual UTF-8 text of the message"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 129,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "string"
      }
    },
    {
      "id": 1501,
      "name": "threadId",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Unique identifier of a message thread to which the message belongs; for supergroups only"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 40,
          "character": 1
        }
      ],
      "type": {
        "type": "intrinsic",
        "name": "number"
      }
    },
    {
      "id": 1560,
      "name": "userShared",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 293,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1908,
        "name": "User",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1544,
      "name": "venue",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a venue, information about the venue.\nFor backward compatibility, when this property is set, the "
          },
          {
            "kind": "code",
            "text": "`location`"
          },
          {
            "kind": "text",
            "text": " field will also be set"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 207,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1916,
        "name": "Venue",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1516,
      "name": "viaBot",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Bot through which the message was sent"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 105,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1888,
        "name": "User",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1533,
      "name": "video",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a video, information about the video"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 168,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1929,
        "name": "Video",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1580,
      "name": "videoChatEnded",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 336,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2897,
        "name": "VideoChatEnded",
        "package": "tgkit"
      }
    },
    {
      "id": 1581,
      "name": "videoChatParticipantsInvited",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 338,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2899,
        "name": "VideoChatParticipantsInvited",
        "package": "tgkit"
      }
    },
    {
      "id": 1578,
      "name": "videoChatScheduled",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 332,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2894,
        "name": "VideoChatScheduled",
        "package": "tgkit"
      }
    },
    {
      "id": 1579,
      "name": "videoChatStarted",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 334,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2896,
        "name": "VideoChatStarted",
        "package": "tgkit"
      }
    },
    {
      "id": 1534,
      "name": "videoNote",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a video note, information about the video message"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 171,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1944,
        "name": "VideoNote",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1535,
      "name": "voice",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Message is a voice message, information about the file"
          }
        ]
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 174,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1956,
        "name": "Voice",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1582,
      "name": "webAppData",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 340,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 1967,
        "name": "WebAppData",
        "package": "tgkit",
        "qualifiedName": "default"
      }
    },
    {
      "id": 1563,
      "name": "writeAccessAllowed",
      "variant": "declaration",
      "kind": 1024,
      "flags": {
        "isOptional": true
      },
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 300,
          "character": 1
        }
      ],
      "type": {
        "type": "reference",
        "target": 2842,
        "name": "WriteAccessAlowed",
        "package": "tgkit"
      }
    },
    {
      "id": 1584,
      "name": "isService",
      "variant": "declaration",
      "kind": 262144,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 350,
          "character": 5
        }
      ],
      "getSignature": {
        "id": 1585,
        "name": "isService",
        "variant": "signature",
        "kind": 524288,
        "flags": {},
        "comment": {
          "summary": [
            {
              "kind": "text",
              "text": "Utility property, does not come from Telegram Bot API. A message is considered a service message\nif it is not sent directly by the user, but is sent by Telegram as a result of some event.\n\nVisually such messages appear not as regular message bubbles, but as centered text with no visible sender."
            }
          ]
        },
        "sources": [
          {
            "fileName": "packages/tgkit/src/structures/Message.ts",
            "line": 350,
            "character": 5
          }
        ],
        "type": {
          "type": "intrinsic",
          "name": "boolean"
        }
      }
    },
    {
      "id": 1590,
      "name": "copy",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 605,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1591,
          "name": "copy",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Copy message of any kind.\nService messages and invoice messages can't be copied.\nA quiz poll can be copied only if the value of the field 'correctOptionId' is known to the bot.\nThe method is analogous to the method forwardMessage,\nbut the copied message doesn't have a link to the original message."
              }
            ]
          },
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 605,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1592,
              "name": "chatId",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "reference",
                "target": 2092,
                "name": "ChatId",
                "package": "tgkit"
              }
            },
            {
              "id": 1593,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2321,
                "name": "MessageCopyOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1619,
      "name": "delete",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 640,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1620,
          "name": "delete",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 640,
              "character": 7
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1607,
      "name": "editCaption",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 625,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1608,
          "name": "editCaption",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 625,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1609,
              "name": "caption",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "union",
                "types": [
                  {
                    "type": "literal",
                    "value": null
                  },
                  {
                    "type": "intrinsic",
                    "name": "string"
                  }
                ]
              }
            },
            {
              "id": 1610,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2459,
                "name": "MessageEditCaptionOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1611,
      "name": "editMedia",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 629,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1612,
          "name": "editMedia",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 629,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1613,
              "name": "media",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "reference",
                "target": 2669,
                "name": "InputMedia",
                "package": "tgkit"
              }
            },
            {
              "id": 1614,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2464,
                "name": "MessageEditMediaOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1615,
      "name": "editReplyMarkup",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 636,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1616,
          "name": "editReplyMarkup",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 636,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1617,
              "name": "markup",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "reference",
                "target": 1379,
                "name": "InlineKeyboardMarkup",
                "package": "tgkit",
                "qualifiedName": "default"
              }
            },
            {
              "id": 1618,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2459,
                "name": "MessageEditCaptionOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1603,
      "name": "editText",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 621,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1604,
          "name": "editText",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 621,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1605,
              "name": "text",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "intrinsic",
                "name": "string"
              }
            },
            {
              "id": 1606,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2453,
                "name": "MessageEditTextOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1586,
      "name": "forward",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 594,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1587,
          "name": "forward",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 594,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1588,
              "name": "chatId",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "type": {
                "type": "reference",
                "target": 2092,
                "name": "ChatId",
                "package": "tgkit"
              }
            },
            {
              "id": 1589,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2317,
                "name": "MessageForwardOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1598,
      "name": "pin",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 613,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1599,
          "name": "pin",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 613,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1600,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2427,
                "name": "ChatMessagePinOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1594,
      "name": "setReaction",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 609,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1595,
          "name": "setReaction",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 609,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1596,
              "name": "reaction",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "array",
                "elementType": {
                  "type": "reference",
                  "target": 2901,
                  "name": "Reaction",
                  "package": "tgkit"
                }
              }
            },
            {
              "id": 1597,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2908,
                "name": "MessageReactionSetOptons",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1621,
      "name": "stopPoll",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 644,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1622,
          "name": "stopPoll",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 644,
              "character": 7
            }
          ],
          "parameters": [
            {
              "id": 1623,
              "name": "options",
              "variant": "param",
              "kind": 32768,
              "flags": {
                "isOptional": true
              },
              "type": {
                "type": "reference",
                "target": 2467,
                "name": "PollStopOptions",
                "package": "tgkit"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 1601,
      "name": "unpin",
      "variant": "declaration",
      "kind": 2048,
      "flags": {},
      "sources": [
        {
          "fileName": "packages/tgkit/src/structures/Message.ts",
          "line": 617,
          "character": 7
        }
      ],
      "signatures": [
        {
          "id": 1602,
          "name": "unpin",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "sources": [
            {
              "fileName": "packages/tgkit/src/structures/Message.ts",
              "line": 617,
              "character": 7
            }
          ],
          "type": {
            "type": "reference",
            "target": {
              "sourceFileName": "node_modules/.pnpm/typescript@5.5.3/node_modules/typescript/lib/lib.es5.d.ts",
              "qualifiedName": "Promise"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "void"
              }
            ],
            "name": "Promise",
            "package": "typescript"
          }
        }
      ]
    }
  ],
  "groups": [
    {
      "title": "Constructors",
      "children": [
        1496
      ]
    },
    {
      "title": "Properties",
      "children": [
        1526,
        1527,
        1521,
        1566,
        1507,
        1536,
        1537,
        1553,
        1508,
        1567,
        1561,
        1624,
        1562,
        1540,
        1506,
        1550,
        1541,
        1528,
        1517,
        1525,
        1523,
        1513,
        1570,
        1568,
        1569,
        1571,
        1509,
        1542,
        1572,
        1573,
        1575,
        1577,
        1574,
        1576,
        1551,
        1539,
        1518,
        1500,
        1558,
        1511,
        1519,
        1510,
        1547,
        1524,
        1545,
        1520,
        1554,
        1556,
        1555,
        1546,
        1549,
        1548,
        1529,
        1564,
        1530,
        1557,
        1543,
        1565,
        1514,
        1583,
        1512,
        1515,
        1502,
        1504,
        1505,
        1503,
        1538,
        1531,
        1532,
        1559,
        1552,
        1522,
        1501,
        1560,
        1544,
        1516,
        1533,
        1580,
        1581,
        1578,
        1579,
        1534,
        1535,
        1582,
        1563
      ]
    },
    {
      "title": "Accessors",
      "children": [
        1584
      ]
    },
    {
      "title": "Methods",
      "children": [
        1590,
        1619,
        1607,
        1611,
        1615,
        1603,
        1586,
        1598,
        1594,
        1621,
        1601
      ]
    }
  ],
  "sources": [
    {
      "fileName": "packages/tgkit/src/structures/Message.ts",
      "line": 35,
      "character": 21
    }
  ],
  "extendedTypes": [
    {
      "type": "reference",
      "target": {
        "sourceFileName": "packages/tgkit/src/structures/Base.ts",
        "qualifiedName": "default"
      },
      "name": "default",
      "package": "tgkit"
    }
  ]
}