def inlineinteractions(postid, posterusername, decodedposttext):
# Accepts all keys. Initial setup: [enter] moves to next post, 'r' replies, 'rp' reposts, '*' stars, 'p' pins:
inlinecommand = input(Fore.BLUE + Style.DIM + "[enter],r,rp,*,p " + Style.RESET_ALL)
if inlinecommand == "r":
postidreply = postid
poster = posterusername
replyinline(postidreply, poster)
if inlinecommand == "rp":
postidrepost = postid
repostinline(postidrepost)
if inlinecommand == "*":
postidstar = postid
starinline(postidstar)
if inlinecommand == "p":
postidpin = postid
pininline(postidpin)
# DEFINE 10C GET TIMELINE SUBROUTINES:
# Define the 'timelinebase' subroutine:
评论列表
文章目录