Back to top
Parameters:
InvalidCallbackData¶
class telegram.ext.InvalidCallbackData(callback_data=None)[source]¶Bases: telegram.error.TelegramError
Raised when the received callback data has been tampered with or deleted from cache.
Examples
See also
Added in version 13.6.
callback_data (int, optional) – The button data of which the callback data could not be found.
callback_data[source]¶Optional. The button data of which the callback data could not be found.
Type: __reduce__()[source]¶Defines how to serialize the exception for pickle. See object.__reduce__() for more info.
Returns: