test
This commit is contained in:
parent
164235667a
commit
c496f58281
2
td.go
2
td.go
@ -82,7 +82,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if *senderUserID64 != 0 {
|
if *senderUserID64 != 0 {
|
||||||
userDetails, err := c.GetUser(senderUserID64)
|
userDetails, err := c.GetUser(int32(senderUserID64))
|
||||||
chatDetails, err := c.GetChat(chat)
|
chatDetails, err := c.GetChat(chat)
|
||||||
fmt.Printf("Exporting historic messages for chat %d (%s) from user %d (%s)...\n", chat, chatDetails.Title, *senderUserID64, userDetails.Username)
|
fmt.Printf("Exporting historic messages for chat %d (%s) from user %d (%s)...\n", chat, chatDetails.Title, *senderUserID64, userDetails.Username)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user