In a chat app, the leader is the only user who can send an invite. Set a method called invite() directly on leader.
invite()
leader
Make sure to type def invite.
def invite