Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ButtonItem ¶ added in v3.0.14
type ButtonItem struct {
Type string `json:"type"`
Name string `json:"name"`
URL string `json:"url,omitempty"`
AppID string `json:"appid,omitempty"`
PagePath string `json:"pagepath,omitempty"`
Key string `json:"key,omitempty"`
Value string `json:"value,omitempty"`
MediaID string `json:"media_id,omitempty"`
NewsInfo struct {
List []struct {
Title string `json:"title"`
Author string `json:"author"`
Digest string `json:"digest"`
ShowCover int `json:"show_cover"`
CoverUrl string `json:"cover_url"`
ContentUrl string `json:"content_url"`
SourceUrl string `json:"source_url"`
} `json:"list"`
} `json:"news_info"`
}
type ConditionalMenu ¶
type ResponseCurrentSelfMenu ¶
type ResponseCurrentSelfMenu struct {
response.ResponseOfficialAccount
IsMenuOpen int `json:"is_menu_open"`
SelfMenuInfo *SelfMenuInfo `json:"selfmenu_info"`
}
type ResponseMenuCreate ¶
type ResponseMenuCreate struct {
response.ResponseOfficialAccount
}
type ResponseMenuCreateConditional ¶
type ResponseMenuCreateConditional struct {
response.ResponseOfficialAccount
MenuID string `json:"menuid"`
}
type ResponseMenuDelete ¶
type ResponseMenuDelete struct {
response.ResponseOfficialAccount
}
type ResponseMenuGet ¶
type ResponseMenuGet struct {
response.ResponseOfficialAccount
Menus *Menu `json:"menu"`
ConditionalMenus []*ConditionalMenu `json:"conditionalmenu"`
}
type ResponseMenuTryMatch ¶
type ResponseMenuTryMatch struct {
Buttons []*Button `json:"button"`
}
type SelfButton ¶ added in v3.0.53
type SelfButton struct {
Type string `json:"type"`
Name string `json:"name"`
Key string `json:"key"`
Value string `json:"value,omitempty"`
URL string `json:"url,omitempty"`
MediaId string `json:"media_id,omitempty"`
Appid string `json:"appid,omitempty"`
Pagepath string `json:"pagepath,omitempty"`
ArticleId string `json:"article_id,omitempty"`
SubButtons *SubButton `json:"sub_button"`
}
type SelfMenuInfo ¶
type SelfMenuInfo struct {
Buttons []*SelfButton `json:"button"`
}
type SubButton ¶
type SubButton struct {
List []*ButtonItem `json:"list"`
}
Click to show internal directories.
Click to hide internal directories.