Skip to content
  • Auto
  • Light
  • Dark
Download Beeper

Delete

Delete a chat reminder
client.Chats.Reminders.Delete(ctx, chatID) (*BaseResponse, error)
delete/v1/chats/{chatID}/reminders

Clear an existing reminder from a chat

ParametersExpand Collapse
chatID string

Unique identifier of the chat.

ReturnsExpand Collapse
type BaseResponse struct{…}
Success bool
Error stringoptional
Delete a chat reminder
package main

import (
  "context"
  "fmt"

  "github.com/beeper/desktop-api-go"
  "github.com/beeper/desktop-api-go/option"
)

func main() {
  client := beeperdesktopapi.NewClient(
    option.WithAccessToken("My Access Token"),
  )
  baseResponse, err := client.Chats.Reminders.Delete(context.TODO(), "!NCdzlIaMjZUmvmvyHU:beeper.com")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", baseResponse.Success)
}
{
  "success": true,
  "error": "error"
}
Returns Examples
{
  "success": true,
  "error": "error"
}