mirror of
https://github.com/TheFunny/TelegramTwitterMediaBot.git
synced 2026-09-23 23:32:05 +00:00
fix twitter id
This commit is contained in:
@@ -147,12 +147,13 @@ class TGTweet(Tweet):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def _init_properties(self) -> tuple:
|
def _init_properties(self) -> tuple:
|
||||||
|
id = self._tweet['tweetID']
|
||||||
author = self._tweet['user_name']
|
author = self._tweet['user_name']
|
||||||
author_id = self._tweet['user_screen_name']
|
author_id = self._tweet['user_screen_name']
|
||||||
text = self._tweet_text
|
text = self._tweet_text
|
||||||
media = self._tweet_media
|
media = self._tweet_media
|
||||||
sensitive = self._tweet['possibly_sensitive']
|
sensitive = self._tweet['possibly_sensitive']
|
||||||
return self._id, author, author_id, text, media, sensitive
|
return id, author, author_id, text, media, sensitive
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def message_text(self) -> str:
|
def message_text(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user