Merge pull request #80 from opheugene/add_from_is_system

Added IsSystem flag to UserRef struct
This commit is contained in:
Pavel 2024-11-15 14:39:09 +03:00 committed by GitHub
commit f7e352a622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -354,6 +354,7 @@ type (
LastMessage Message `json:"last_message"` LastMessage Message `json:"last_message"`
LastUserMessage MessageID `json:"last_user_message"` LastUserMessage MessageID `json:"last_user_message"`
LastActivity string `json:"last_activity"` LastActivity string `json:"last_activity"`
LastDialog Dialog `json:"last_dialog"`
CreatedAt string `json:"created_at"` CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"` UpdatedAt string `json:"updated_at"`
} }
@ -605,6 +606,7 @@ type (
IsAdmin bool `json:"is_admin"` IsAdmin bool `json:"is_admin"`
Available bool `json:"available"` Available bool `json:"available"`
IsTechnicalAccount bool `json:"is_technical_account"` IsTechnicalAccount bool `json:"is_technical_account"`
IsSystem bool `json:"is_system"`
} }
Channel struct { Channel struct {