Optional
attachmentsOptional
chat_ID of conversation the message will relate to.
Optional
disable_Optional
domainUser's short address (for example, 'illarionov').
Optional
dont_Optional
forwardOptional
forward_ID of forwarded messages, separated with a comma. Listed messages of the sender will be shown in the message body at the recipient's. Example: "123,431,544".
Optional
group_Group ID (for group messages with group access token).
Optional
keyboardOptional
latGeographical latitude of a check-in, in degrees (from -90 to 90).
Optional
longGeographical longitude of a check-in, in degrees (from -180 to 180).
Optional
message(Required if 'attachments' is not set.) Text of the message.
Optional
payloadOptional
peer_Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. ".
Optional
random_Unique identifier to avoid resending the message.
Optional
reply_Optional
sticker_Sticker id.
Optional
templateOptional
user_User ID (by default — current user).
Optional
user_IDs of message recipients (if new conversation shall be started).
Generated using TypeDoc
(Required if 'message' is not set.) List of objects attached to the message, separated by commas, in the following format: "_", '' — Type of media attachment: 'photo' — photo, 'video' — video, 'audio' — audio, 'doc' — document, 'wall' — wall post, '' — ID of the media attachment owner. '' — media attachment ID. Example: "photo100172_166443618".