Home>

I send so

$ attachment= 'photo-175583814_457239455';
$ vk->
SendMessage ($ peer_id, $ attachment);

The problem is that the bot shoves this text itself, and not a photo

  • Answer # 1

    so you have SendMessage. Write Sendimage. .

  • Answer # 2

    so you have SendMessage. Write Sendimage. .

  • Answer # 3

    Bot and must send text. Because in the variable it is contained. https://vk.com/dev/photos.

  • Answer # 4

    Bot and must send text. Because in the variable it is contained. https://vk.com/dev/photos.