telegraph icon indicating copy to clipboard operation
telegraph copied to clipboard

Implement `videoNote` method

Open fabio-ivona opened this issue 3 years ago • 3 comments

implement https://core.telegram.org/bots/api#sendvideonote

to allow:

Telegraph::videoNote($path)
    ->thumb($thumbImagePath)
    ->silent()
    ->protected()

fabio-ivona avatar Sep 28 '22 12:09 fabio-ivona

Dear @fabio-ivona , I am a beginner to Open Source and really looking forward to contribute to this repo. Could you please explain this issue to me and if I'm able to, assign this issue to me. As of now what I understood was I just have to add these 4 lines of code to implement videonote. Can you please tell me if I'm right or wrong. Also if I am correct, where can I find the code to make these changes. I'm a complete beginner, I'm really sorry if any of this sounds absurd to you.

VividhPandey003 avatar Sep 28 '22 13:09 VividhPandey003

Hi @VividhPandey003

the 4 lines of code you see are the method to implement, several changes are to be made in order to obtain this

if you want an example you can see where video(), photo() and document() methods are defined:

https://github.com/defstudio/telegraph/blob/main/src/Concerns/SendsAttachments.php

fabio-ivona avatar Sep 28 '22 13:09 fabio-ivona

Okay, yes I understand it now. I'll try to learn first. Thank you for explaining it to me and sorry😐😅

VividhPandey003 avatar Sep 28 '22 13:09 VividhPandey003

What about this feature?

elephantux avatar Aug 18 '23 11:08 elephantux

It's in our backlog, will be implemented soon

fabio-ivona avatar Aug 20 '23 10:08 fabio-ivona

Thanks! Really need it

snake302 avatar Aug 23 '23 09:08 snake302