Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the time of a Telegram message be obtained #2

Open
miketsukuba opened this issue May 4, 2022 · 0 comments
Open

Can the time of a Telegram message be obtained #2

miketsukuba opened this issue May 4, 2022 · 0 comments

Comments

@miketsukuba
Copy link

miketsukuba commented May 4, 2022

Dear @KaoriEl,

I'm using a program for getting message from a Telegram channel using:
https://github.com/KaoriEl/go-tdlib/blob/9da5185fbd457e08f25e1a7e3179f1bc62c3e438/examples/getChats/getChats.go

To avoid receiving multiple messages at the start of running the program, I need to compare if the time of massages is after the lunch of the run or not.
In case, can I add a function to GetChats.go sample to do this comparison?

Thanks in advance
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant