test
This commit is contained in:
parent
6ecf2dc0db
commit
c8dee001d4
2
main.go
2
main.go
@ -381,7 +381,7 @@ func ListenGuild(c *tdlib.Client) {
|
||||
updateMsg := (*msg).(*tdlib.UpdateNewMessage)
|
||||
chatID := updateMsg.Message.ChatID
|
||||
// senderUserID := updateMsg.Message.SenderUserID
|
||||
if chatID == chat_guild {
|
||||
if chatID == chat_guild && updateMsg.MessageContent.GetMessageContentEnum() == tdlib.MessageTextType {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user