Skip to content

Added new methods

Compare
Choose a tag to compare
@Amele9 Amele9 released this 16 Dec 18:26
· 9 commits to master since this release
e29e714

Fixes

  • Fixed docs

  • Fixed API method names

  • Updated MIMEType detection

  • Fixed #12

    Now all library errors will be returned to you. A channel for tracking errors in the GreenAPIWebhook structure has also been added.

    Example of error handling when receiving or deleting incoming notifications:

go func() {
    for {
        select {
        case err := <-GreenAPIWebhook.ErrorChannel:
            fmt.Println(err.Error())
        default:
            <-time.After(time.Second)
        }
    }
}()

Enhancements

  • Added workflows
  • Added dependabot

Features

Dependencies