Get current snap channel from inside the app

I know this is kind of an old thread, but I was wondering the same question as OP. The revision is of course helpful, but the channel is important for us also.

I was hoping that snapctl would be able to get this, but doesn’t look like it. Any tips?