webhook

package
v0.0.0-...-32447a2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Telegram

func Telegram(w http.ResponseWriter, r *http.Request)

Types

type InlineQuery

type InlineQuery struct{ Id, Query string }

type InlineQueryAnswer

type InlineQueryAnswer struct {
	InlineQueryId string              `json:"inline_query_id"`
	Results       []InlineQueryResult `json:"results"`
}

type InlineQueryResult

type InlineQueryResult struct {
	Type                string `json:"type"`
	Id                  string `json:"id"`
	Title               string `json:"title"`
	InputMessageContent `json:"input_message_content"`
}

type InputMessageContent

type InputMessageContent struct {
	MessageText string `json:"message_text"`
}

type Update

type Update struct {
	InlineQuery `json:"inline_query"`
}

Jump to

Keyboard shortcuts

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