Replies: 1 comment 8 replies
-
Hi, the you could use the Telegraph::chat(<chat>)->photo(Storage::path('first.jpg'))->send(); In order to help you, could you paste here the dump of the response? $this->chat->photo(Storage::path('first.jpg'))->send(); |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I can’t figure out how to send a picture to the chat from a bot when calling a certain command
Used different methods:
public function test(){
1)$this->chat->message('blabla')->photo(Storage::path('first.jpg'))->send();
or
2)Telegraph::photo(Storage::path('first.jpg'))->send();
in the first case I didn’t send anything at all
in the second there is an error: No TelegraphChat defined for this request
Maybe I can install something in the config, there’s nothing specifically described in the documentation for this, or maybe I don’t see what.
help me please
Beta Was this translation helpful? Give feedback.
All reactions