Yeah, I would expect better from IRCC than just a twit, Here's what IRPA and IRPR note.
Act:
47 A foreign national loses temporary resident status
(a) at the end of the period for which they are authorized to remain in Canada;
(b) on a determination by an officer or the Immigration Division...