upd
This commit is contained in:
parent
b17c5fcab6
commit
d7d0c5280f
1
td.go
1
td.go
@ -99,7 +99,6 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
lastParsedTime = time.Unix(int64(msg.Date), 0)
|
lastParsedTime = time.Unix(int64(msg.Date), 0)
|
||||||
switch msg.Content.GetMessageContentEnum() {
|
switch msg.Content.GetMessageContentEnum() {
|
||||||
case tdlib.MessageTextType:
|
case tdlib.MessageTextType:
|
||||||
fmt.Printf("message : %s.\n", msg.Content.(*tdlib.MessageText).Text.Text)
|
|
||||||
if msg.ForwardInfo == nil {
|
if msg.ForwardInfo == nil {
|
||||||
m = ChatWarsMessage{
|
m = ChatWarsMessage{
|
||||||
SenderUserID64: int64(msg.SenderUserID),
|
SenderUserID64: int64(msg.SenderUserID),
|
||||||
|
Loading…
Reference in New Issue
Block a user