Message module

class use_cases.user.message.Message

Bases: object

Class to send a message of the user in the room

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

Performs the broadcast in the rooms, basically send the message of the user to anothers in the room

Parameters
  • server – IP where the server will be allocated

  • args – args to send the message

Returns

user obj with the changes