mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
No need to inherit from Object
This commit is contained in:
parent
0a057cc233
commit
c8fc995c83
@ -17,10 +17,9 @@
|
||||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from pyrogram.api import types
|
||||
from pyrogram.api.core import Object
|
||||
|
||||
|
||||
class InlineQueryResultArticle(Object):
|
||||
class InlineQueryResultArticle:
|
||||
"""Represents a link to an article or web page.
|
||||
|
||||
Args:
|
||||
@ -55,7 +54,6 @@ class InlineQueryResultArticle(Object):
|
||||
Thumbnail height.
|
||||
|
||||
"""
|
||||
ID = 0xb0700033
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user