TgKit library and website are still in early development!

PhotoMessageSendOptions Interface

Properties

allowSendingWithoutReply boolean

Pass true if the message should be sent even if the specified replied-to message is not found

See the code

businessConnectionId string

Unique identifier of the business connection on behalf of which the message will be sent

See the code

caption string

Photo caption, 0-1024 characters after entities parsing

See the code

captionEntities

List of special entities that appear in message text, which can be specified instead of parse_mode

See the code

disableNotification boolean

Sends the message [silently](https://telegram.org/blog/channels-2-0#silent-messages). Users will receive a notification with no sound.

See the code

disableWebPagePreview boolean

Disables link previews for links in this message

See the code

forumTopicId number

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

See the code

hasSpoiler boolean

Pass *true* if the photo needs to be covered with a spoiler animation

See the code

parseMode ParseMode

Mode for parsing entities in the document caption.

See the code

protectContent boolean

Protects the contents of the sent message from forwarding and saving

See the code

replyMarkup

Additional export interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove reply keyboard or to force a reply from the user.

See the code

replyToMessageId number

If the message is a reply, ID of the original message

See the code