import rubpy

class GetInfo:
    async def get_info(
            self: "rubpy.Client",
            object_guid: str,
    ):
        if object_guid.startswith('c0'):
            return await self.get_channel_info(object_guid)
        elif object_guid.startswith('u0'):
            return await self.get_user_info(object_guid)
        else:
            return await self.get_group_info(object_guid)