mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +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/>.
|
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from pyrogram.api import types
|
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.
|
"""Represents a link to an article or web page.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@ -55,7 +54,6 @@ class InlineQueryResultArticle(Object):
|
|||||||
Thumbnail height.
|
Thumbnail height.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
ID = 0xb0700033
|
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user