Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ``` python
- def convert_channel_id_to_peer_id(channel_id):
- """
- :param channel_id:
- :return:
- """
- if channel_id is None or channel_id == 'Null':
- return channel_id
- else:
- return 8589934592 | int(channel_id)
Add Comment
Please, Sign In to add comment