danog/MadelineProto

How filter incoming messages: all messages without Scheduled

darkdarin opened this issue · 2 comments

When a channel message is published in schedule queue - I receive such a message as a regular published message without any markings that this message is scheduled.
Then when the message moves from pending to published - I get the same message again.
How can I filter pending messages to only receive those that have already been published?

Check the $message->fromScheduled flag!