Interface IVkParams

Hierarchy

  • IVkParams

Properties

attachments?: string[]

(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".

chat_id?: number

ID of conversation the message will relate to.

disable_mentions?: boolean
domain?: string

User's short address (for example, 'illarionov').

dont_parse_links?: boolean
forward?: string
forward_messages?: number[]

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".

group_id?: number

Group ID (for group messages with group access token).

keyboard?: string | object
lat?: number

Geographical latitude of a check-in, in degrees (from -90 to 90).

long?: number

Geographical longitude of a check-in, in degrees (from -180 to 180).

message?: string

(Required if 'attachments' is not set.) Text of the message.

payload?: string
peer_id?: number

Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'chat_id', e.g. '2000000001'. For community: '- community ID', e.g. '-12345'. ".

random_id?: number

Unique identifier to avoid resending the message.

reply_to?: number
sticker_id?: number

Sticker id.

template?: any
user_id?: number

User ID (by default — current user).

user_ids?: number[]

IDs of message recipients (if new conversation shall be started).

Generated using TypeDoc