S
S
sema-fedotov2020-05-04 13:32:35
In contact with
sema-fedotov, 2020-05-04 13:32:35

Ref vk-io how to get?

I use the vk-io library, there is a code

vk.updates.on(['new_message'], async (context, next) => {
console.log(context)
})

But the object does not have many parameters, such as ref and ref_source, for example.
How can you get them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
valnesfjord, 2020-07-11
@valnesfjord

The context returns the referralSource and referralValue parameters; You can get them by calling context.
5f09c13d09edb543515200.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question