Body
The request body for SendPhotoApi
Properties
Optional. Unique identifier of the business connection on behalf of which the message will be sent
Optional. A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode
Required unique identifier for the target chat or username of the target channel (in the format @channelusername
)
Optional. Sends the message silently. Users will receive a notification with no sound.
Optional. Pass True if the photo needs to be covered with a spoiler animation
Optional. Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
Optional. Mode for parsing entities in the photo caption. See formatting options for more details.
Required. Photo to send. (See the documentation).
Optional. Protects the contents of the sent message from forwarding and saving
Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account
Optional. Description of the message to reply to
Functions
Add a captionEntity into captionEntities.