connector: support messages sent by a channel

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
Co-authored-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
Sumner Evans
2024-09-03 12:36:28 -06:00
parent 8925318ec4
commit 3b6af95976
5 changed files with 78 additions and 10 deletions
+1
View File
@@ -137,6 +137,7 @@ func (tg *TelegramConnector) GetDBMetaTypes() database.MetaTypes {
type GhostMetadata struct {
IsPremium bool `json:"is_premium,omitempty"`
IsBot bool `json:"is_bot,omitempty"`
IsChannel bool `json:"is_channel,omitempty"`
}
type PortalMetadata struct {