Skip to content

Commit 0b54e58

Browse files
authored
Explain how to add from_transport on messenger.message_handler tag
1 parent d60f859 commit 0b54e58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

messenger.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ Then, make sure to "route" your message to *both* transports:
12231223
12241224
That's it! You can now consume each transport:
12251225

1226+
It's also possible to specify `from_transport` as attribute on the `messenger.message_handler` tag.
1227+
12261228
.. code-block:: terminal
12271229
12281230
# will only call ThumbnailUploadedImageHandler when handling the message

0 commit comments

Comments
 (0)