(new): rich message support
(fix): runtime reliability (tests): regression coverage (doc): v1.1 release notes
This commit is contained in:
@@ -498,8 +498,10 @@ const (
|
||||
// Since: Bot API 10.1
|
||||
// See https://core.telegram.org/bots/api#answerchatjoinrequestquery
|
||||
type AnswerChatJoinRequestQuery struct {
|
||||
ChatJoinRequestQueryID string `json:"chat_join_request_query_id"`
|
||||
Result ChatJoinRequestQueryResult `json:"result"`
|
||||
// ChatJoinRequestQueryID identifies the chat join request query.
|
||||
ChatJoinRequestQueryID string `json:"chat_join_request_query_id"`
|
||||
// Result contains the decision for the join request query.
|
||||
Result ChatJoinRequestQueryResult `json:"result"`
|
||||
}
|
||||
|
||||
// AnswerChatJoinRequestQuery processes a received chat join request query.
|
||||
@@ -524,8 +526,10 @@ func (api *API) AnswerChatJoinRequestQueryWithContext(ctx context.Context, param
|
||||
// Since: Bot API 10.1
|
||||
// See https://core.telegram.org/bots/api#sendchatjoinrequestwebapp
|
||||
type SendChatJoinRequestWebApp struct {
|
||||
// ChatJoinRequestQueryID identifies the chat join request query.
|
||||
ChatJoinRequestQueryID string `json:"chat_join_request_query_id"`
|
||||
WebAppURL string `json:"web_app_url"`
|
||||
// WebAppURL is the HTTPS URL of the Mini App to open.
|
||||
WebAppURL string `json:"web_app_url"`
|
||||
}
|
||||
|
||||
// SendChatJoinRequestWebApp shows a Mini App to the user before deciding a
|
||||
|
||||
Reference in New Issue
Block a user