test
This commit is contained in:
parent
a3669f5e43
commit
0c285f0c35
5
td.go
5
td.go
@ -60,11 +60,6 @@ func ListenCW(c *tdlib.Client) {
|
||||
updateMsg := (newMsg).(*tdlib.UpdateNewMessage)
|
||||
senderUserID := updateMsg.Message.SenderUserID
|
||||
if updateMsg.Message.Content.GetMessageContentEnum() == tdlib.MessageTextType {
|
||||
user, err := c.GetUser(senderUserID)
|
||||
if err != nil {
|
||||
fmt.Println("ListenCW:", err.Error())
|
||||
}
|
||||
|
||||
txt := updateMsg.Message.Content.(*tdlib.MessageText).Text.Text
|
||||
t := time.Now()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user