callbackdata

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgreeDecision   = "agree"
	DeclineDecision = "decline"
)

Variables

This section is empty.

Functions

func NewAgreeWithGroupID

func NewAgreeWithGroupID(groupdID int64) string

func NewDeclineWithGroupID

func NewDeclineWithGroupID(groupdID int64) string

Types

type Payload

type Payload struct {
	Decision string
	GroupID  int64
}

func Parse

func Parse(data string) (*Payload, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL