-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
We have the following string describing our attachment shortcut:
If this message is neither a plain text message nor a status update
and the following message attributes are set to it:
* :class:`telegram.Audio`
* :class:`telegram.Dice`
* :class:`telegram.Contact`
* :class:`telegram.Document`
* :class:`telegram.Animation`
* :class:`telegram.Game`
* :class:`telegram.Invoice`
* :class:`telegram.Location`
* :class:`telegram.PassportData`
* List[:class:`telegram.PhotoSize`]
* :class:`telegram.Poll`
* :class:`telegram.Sticker`
* :class:`telegram.Story`
* :class:`telegram.SuccessfulPayment`
* :class:`telegram.Venue`
* :class:`telegram.Video`
* :class:`telegram.VideoNote`
* :class:`telegram.Voice`
Now status update is not really defined in Telegram context. From my feeling for how I would use this method, I would describe it as "user generated message which is not a plain text message". This would however mean to remove SuccessfulPayment from this list.
On the other hand, if we stick to a definition which includes SuccessfulPayment, imo all service messages which link to an object should be included.
Metadata
Metadata
Assignees
Labels
No labels