Documentation
¶
Index ¶
- func GenerateJWKPair() (string, string, error)
- type Client
- func (s *Client) GenerateJWTFromJWK(jwkJSON string, kid string) (string, error)
- func (s *Client) GenerateToken() (string, *time.Time, error)
- func (s *Client) GetContent(messageID string) ([]byte, error)
- func (s *Client) ReplyTextMessage(replyToken, quoteToken string, text string) (*messaging_api.ReplyMessageResponse, error)
- func (s *Client) SendBroadcaseMessage(ctx context.Context, title, summary, coverUrl, url, actionLabel string) error
- func (s *Client) SendPushMessage(ctx context.Context, groupID, title, summary, url string) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateJWKPair ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewFromAccessToken ¶
func (*Client) GenerateJWTFromJWK ¶
func (*Client) ReplyTextMessage ¶
func (s *Client) ReplyTextMessage(replyToken, quoteToken string, text string) (*messaging_api.ReplyMessageResponse, error)
func (*Client) SendBroadcaseMessage ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.