on_guest_message()

Client.on_guest_message()

Decorator for handling new guest messages.

This does the same thing as add_handler() using the GuestMessageHandler.

Usable by Users Bots
Parameters:
  • filters (filters, optional) – Pass one or more filters to allow only a subset of messages to be passed in your function.

  • group (int, optional) – The group identifier, defaults to 0.