messages/telegram.py
def _construct_message(self):
        """Build the message params."""
        self.message["chat_id"] = self.chat_id
        self.message["text"] = ""
        if self.from_:
            self.message["text"] += "From: " + self.from_ + "\n"
        if self.subject:
            self.message["text"] += "Subject: " + self.subject + "\n"

        self.message["text"] += self.body
        self.message.update(self.params)
def _construct_message(self):
        """Build the message params."""
        self.message["chat_id"] = self.chat_id
        self.message["text"] = ""
        if self.from_:
            self.message["text"] += "From: " + self.from_ + "\n"
        if self.subject:
            self.message["text"] += "Subject: " + self.subject + "\n"

        self.message["text"] += self.body
        self.message.update(self.params)
def _construct_message ( self ) : self . message [ "chat_id" ] = self . chat_id self . message [ "text" ] = "" if self . from_ : self . message [ "text" ] += "From: " + self . from_ + "\n" if self . subject : self . message [ "text" ] += "Subject: " + self . subject + "\n" self . message [ "text" ] += self . body self . message . update ( self . params )
Build the message params.
Build the message params .