PrivateMessage module

class use_cases.user.privatemessage.Privatemessage

Bases: object

Class to send private a message of the user in the server

static response(user, server, args)entities.ent_user.User

Sending the message of user only to other user

Parameters
  • server – IP where the server will be allocated

  • args – args to send the private message

Returns

user obj with the changes