@@ -41,7 +41,7 @@ components.
4141
4242 The username of the bot's owner, which will be displayed in the ``/help ``
4343 command. This attribute will be sent directly to the user, so if you want
44- to insert an username be sure to prefix it with ``@ ``, so the Telegram
44+ to insert a username be sure to prefix it with ``@ ``, so the Telegram
4545 client will make that text clickable.
4646
4747 .. py :attribute :: before_help
@@ -84,8 +84,7 @@ components.
8484 parameters:
8585
8686 * A ``chat `` parameter with the representation of the chat in which the
87- message was sent (either an instance of :py:class: `botogram.User ` or
88- :py:class: `botogram.GroupChat `)
87+ message was sent (an instance of :py:class: `botogram.Chat `)
8988 * A ``message `` parameter with the representation of the received
9089 message (an instance of :py:class: `botogram.Message `)
9190
@@ -99,8 +98,7 @@ components.
9998 will be called with two parameters:
10099
101100 * A ``chat `` parameter with the representation of the chat in which the
102- message was sent (either an instance of :py:class: `botogram.User ` or
103- :py:class: `botogram.GroupChat `)
101+ message was sent (an instance of :py:class: `botogram.Chat `)
104102 * A ``message `` parameter with the representation of the received
105103 message (an instance of :py:class: `botogram.Message `)
106104
@@ -122,9 +120,8 @@ components.
122120 called with two parameters:
123121
124122 * A ``chat `` parameter with the representation of the chat in which the
125- message was sent (either an instance of :py:class: `botogram.User ` or
126- :py:class: `botogram.GroupChat `)
127- * A ``message `` parameter witht the representation of the received
123+ message was sent (an instance of :py:class: `botogram.Chat `)
124+ * A ``message `` parameter with the representation of the received
128125 message (an instance of :py:class: `botogram.Message `).
129126
130127 If the function returns ``True ``, then the message processing is stopped,
@@ -142,8 +139,7 @@ components.
142139 message. Decorated functions will be called with two parameters:
143140
144141 * A ``chat `` parameter with the representation of the chat in which the
145- message was sent (either an instance of :py:class: `botogram.User ` or
146- :py:class: `botogram.GroupChat `)
142+ message was sent (an instance of :py:class: `botogram.Chat `)
147143 * A ``message `` parameter with the representation of the received
148144 message (an instance of :py:class: `botogram.Message `)
149145
@@ -164,8 +160,7 @@ components.
164160 be called with two parameters:
165161
166162 * A ``chat `` parameter with the representation of the chat in which the
167- message was sent (either an instance of :py:class: `botogram.User ` or
168- :py:class: `botogram.GroupChat `)
163+ message was sent (an instance of :py:class: `botogram.Chat `)
169164 * A ``message `` parameter with the representation of the received
170165 message (an instance of :py:class: `botogram.Message `)
171166 * A ``matches `` parameter with a tuple containing the matched groups
@@ -186,8 +181,7 @@ components.
186181 three parameters:
187182
188183 * A ``chat `` parameter with the representation of the chat in which the
189- message was sent (either an instance of :py:class: `botogram.User ` or
190- :py:class: `botogram.GroupChat `)
184+ message was sent (an instance of :py:class: `botogram.Chat `)
191185 * A ``message `` parameter with the representation of the received
192186 message (an instance of :py:class: `botogram.Message `)
193187 * An ``args `` parameter with the list of parsed arguments
0 commit comments