diff --git a/telegram/newmessage.go b/telegram/newmessage.go index b29302c5..94ea106d 100755 --- a/telegram/newmessage.go +++ b/telegram/newmessage.go @@ -125,9 +125,9 @@ func (m *NewMessage) ChatType() string { case *PeerUser: return EntityUser case *PeerChat: - return EntityChannel - case *PeerChannel: return EntityChat + case *PeerChannel: + return EntityChannel } } return EntityUnknown