Skip to content

[0.12] Sending photos, Url buttons

Choose a tag to compare

@k0dep k0dep released this 09 Apr 18:39
· 38 commits to master since this release

Sending photos

Now you can send photo via calling Photo("http://path.to/photo.png")

Url buttons

If you pass valid url into payload in the button, the button will be a link.

Example:

[Action("/start")]
void Start()
{
    // Add the photo to message
    Photo("https://avatars.githubusercontent.com/u/59260433");
    Push("Hello from deploy-f");
    Button("Got to botf repo", "https://github.com/deploy-f/botf");
}