'Return the channel object as its channel number
NOTE: inherited from legacy BlockingConnection; might be error-prone;
use `channel_number` property instead.
:rtype: int'

def __int__(self):

    return self.channel_number
