config: remove set_private_chat_portal_meta option

It's handled by bridgev2

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
Sumner Evans
2024-07-17 12:34:28 -06:00
parent 48858ac28f
commit 9d77bebe3e
3 changed files with 1 additions and 17 deletions
-3
View File
@@ -18,8 +18,6 @@ type TelegramConfig struct {
AppID int `yaml:"app_id"`
AppHash string `yaml:"app_hash"`
SetPrivateChatPortalMeta bool `yaml:"set_private_chat_portal_meta"`
AnimatedSticker media.AnimatedStickerConfig `yaml:"animated_sticker"`
MemberList struct {
@@ -37,7 +35,6 @@ var ExampleConfig string
func upgradeConfig(helper up.Helper) {
helper.Copy(up.Int, "app_id")
helper.Copy(up.Str, "app_hash")
helper.Copy(up.Bool, "set_private_chat_portal_meta")
helper.Copy(up.Str, "animated_sticker", "target")
helper.Copy(up.Bool, "animated_sticker", "convert_from_webm")
helper.Copy(up.Int, "animated_sticker", "args", "width")