(self, friend)
return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/friends', friend)
This API will resend an invitation email to a user that you've AddFriend'd. You will need to get the friend object by calling GetFriend() because it includes a token that must be passed to this API.
        friend: {"ownerId":"XXX-XXXXXXX","token":"really long string that you get from the GetFriends() API","firstName":"John","lastName":"Doe","devices":{"XXX-XXXXXXX_XXXXXXXXXXXX":"Camera1","XXX-XXXXXXX_XXXXXXXXXXXX":"Camera2"},"lastModified":1548470485419,"adminUser":false,"email":"john.doe@example.com"}
This API will resend an invitation email to a user that you've AddFriend'd. You will need to get the friend object by calling GetFriend() because it includes a token that must be passed to this API.
        friend: {"ownerId":"XXX-XXXXXXX","token":"really long string that you get from the GetFriends() API","firstName":"John","lastName":"Doe","devices":{"XXX-XXXXXXX_XXXXXXXXXXXX":"Camera1","XXX-XXXXXXX_XXXXXXXXXXXX":"Camera2"},"lastModified":1548470485419,"adminUser":false,"email":"john.doe
This API will resend an invitation email to a user that you ve AddFriend d . You will need to get the friend object by calling GetFriend () because it includes a token that must be passed to this API . friend : { ownerId : XXX - XXXXXXX token : really long string that you get from the GetFriends () API firstName : John lastName : Doe devices : { XXX - XXXXXXX_XXXXXXXXXXXX : Camera1 XXX - XXXXXXX_XXXXXXXXXXXX : Camera2 } lastModified : 1548470485419 adminUser : false email : john . doe
def ResendFriendInvite(self, friend):
        """
        This API will resend an invitation email to a user that you've AddFriend'd. You will need to get the friend object by calling GetFriend() because it includes a token that must be passed to this API.
        friend: {"ownerId":"XXX-XXXXXXX","token":"really long string that you get from the GetFriends() API","firstName":"John","lastName":"Doe","devices":{"XXX-XXXXXXX_XXXXXXXXXXXX":"Camera1","XXX-XXXXXXX_XXXXXXXXXXXX":"Camera2"},"lastModified":1548470485419,"adminUser":false,"email":"john.doe@example.com"}
        """
        return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/friends', friend)
def ResendFriendInvite ( self , friend ) : return self . request . post ( f'https://{self.BASE_URL}/hmsweb/users/friends' , friend )