How can we create an UE4 timeline in C++?

This has been asked several times but noone has given an answer other than referring them to blueprints. I know it can be easily done in blueprints, but how can we create a new timeline in C++ without using blueprints?

Thanks!

Hey, look at this struct, it could help you set it up and play it!

i got it working but the function is only called once.
hope it helps