E
E
egorlisss2019-04-18 09:36:49
JavaScript
egorlisss, 2019-04-18 09:36:49

How to send a picture along with a message?

It just got this:

context.send('test'),
  context.sendPhoto('https://pp.userapi.com/c844720/v844720348/1cb2a3/4Bgze95yx7M.jpg')

But the message and the picture are sent separately, you need to combine everything into one message

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladlen Hellsite, 2019-04-18
@egorlisss

context.sendPhoto('https://pp.userapi.com/c844720/v844720348/1cb2a3/4Bgze95yx7M.jpg', {
  message: 'test'
})

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question