Fix typo in the name of config struct SetCustomEmojiStickerSetThumbnailConfig.
parent
dcd469ffa5
commit
10078d1492
|
@ -2264,17 +2264,17 @@ func (config SetStickerPositionConfig) params() (Params, error) {
|
||||||
return params, nil
|
return params, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetCustomEmojiStickerSetThumbnalConfig allows you to set the thumbnail of a custom emoji sticker set
|
// SetCustomEmojiStickerSetThumbnailConfig allows you to set the thumbnail of a custom emoji sticker set
|
||||||
type SetCustomEmojiStickerSetThumbnalConfig struct {
|
type SetCustomEmojiStickerSetThumbnailConfig struct {
|
||||||
Name string
|
Name string
|
||||||
CustomEmojiID string
|
CustomEmojiID string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config SetCustomEmojiStickerSetThumbnalConfig) method() string {
|
func (config SetCustomEmojiStickerSetThumbnailConfig) method() string {
|
||||||
return "setCustomEmojiStickerSetThumbnail"
|
return "setCustomEmojiStickerSetThumbnail"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config SetCustomEmojiStickerSetThumbnalConfig) params() (Params, error) {
|
func (config SetCustomEmojiStickerSetThumbnailConfig) params() (Params, error) {
|
||||||
params := make(Params)
|
params := make(Params)
|
||||||
|
|
||||||
params["name"] = config.Name
|
params["name"] = config.Name
|
||||||
|
|
|
@ -131,8 +131,8 @@ func NewSticker(chatID int64, file RequestFileData) StickerConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewCustomEmojiStickerSetThumbnal creates a new setCustomEmojiStickerSetThumbnal request
|
// NewCustomEmojiStickerSetThumbnal creates a new setCustomEmojiStickerSetThumbnal request
|
||||||
func NewCustomEmojiStickerSetThumbnal(name, customEmojiID string) SetCustomEmojiStickerSetThumbnalConfig {
|
func NewCustomEmojiStickerSetThumbnal(name, customEmojiID string) SetCustomEmojiStickerSetThumbnailConfig {
|
||||||
return SetCustomEmojiStickerSetThumbnalConfig{
|
return SetCustomEmojiStickerSetThumbnailConfig{
|
||||||
Name: name,
|
Name: name,
|
||||||
CustomEmojiID: customEmojiID,
|
CustomEmojiID: customEmojiID,
|
||||||
}
|
}
|
||||||
|
|
|
@ -359,7 +359,7 @@ var (
|
||||||
_ Chattable = ReopenGeneralForumTopicConfig{}
|
_ Chattable = ReopenGeneralForumTopicConfig{}
|
||||||
_ Chattable = HideGeneralForumTopicConfig{}
|
_ Chattable = HideGeneralForumTopicConfig{}
|
||||||
_ Chattable = UnhideGeneralForumTopicConfig{}
|
_ Chattable = UnhideGeneralForumTopicConfig{}
|
||||||
_ Chattable = SetCustomEmojiStickerSetThumbnalConfig{}
|
_ Chattable = SetCustomEmojiStickerSetThumbnailConfig{}
|
||||||
_ Chattable = SetStickerSetTitleConfig{}
|
_ Chattable = SetStickerSetTitleConfig{}
|
||||||
_ Chattable = DeleteStickerSetConfig{}
|
_ Chattable = DeleteStickerSetConfig{}
|
||||||
_ Chattable = SetStickerEmojiListConfig{}
|
_ Chattable = SetStickerEmojiListConfig{}
|
||||||
|
|
Loading…
Reference in New Issue