Yes true they are many idiotic rantings of madmen and women in Pakistan. Yes they also hold seats of power i.e. are MP's, look at the likes of the PTM, PMLN etc. If we were to focus on every tweet they make we will be here all day.
That being said why does the Tehran Times run the headline "Iran should not allow Pakistan to play the role of the U.S. in Afghanistan"?
If this is one person why don't they confine him to small area of their footprint instead of leading on it.
Is it an actual headline in the classic sense? Here you can see the front page of the September 12 print issue of Tehran Times:
https://media.tehrantimes.com/d/t/2021/09/11/0/3887747.jpg
This item does not appear there, nor any mention of Pakistan. Seems like it's more of a subordinate Tweet among others.
Now as for Tehran Times itself and its relation to the state or government, martyr ayatollah Beheshti, a leading figure of the 1979 Revolution assassinated early on by the MKO terrorist cult, stated: "
Tehran Times is not a state-owned newspaper, rather it must be the voice of the Islamic Revolution and the oppressed people in the world."
Over the years though, Tehran Times gained a reputation of being close to Foreign Ministry's staff of functionaries and technocrats - now mind you, these are career civil servants, who do not necessarily get replaced when a new administration takes over. This is precisely one of the issues the Raisi administration will be facing: although top spots at the Ministry are now in the hands of revolutionary or so-called conservative officials, like the new Foreign Minister himself (Amir Abdollahian), many if not most intermediary positions in the Ministry are still controlled by centrists. You cannot swap hundreds of civil servants and diplomats overnight.
And indeed, the majority of Iran's Foreign Ministry technocrats as far as I know should be close to the centrist (also referred to as moderate or pragmatic) faction formerly headed by the late Hashemi Rafsanjani (with parties such as Hezbe 'Etedal va Tose'e / Moderation and Development Party and so on). Outgoing President Rohani and his Foreign Minister Zarif belong to this faction as well.
And, this faction is in an alliance with reformists. Foreign policy wise, centrists and reformists are quasi completely aligned nowadays. In other terms, they are the ones who are currently spearheading the criticism of the establishment and the IRGC for its rapprochement policies with the Taleban.
If you look at revolutionary- oriented media outlets such as Fars News, Keyhan, Mashregh News, Raja News and many others, their tone surely differs. I shared some examples in the Afghanistan section, but statements which tend to trigger antagonism are often taken as representative of the entire Iranian state apparatus even if they aren't.
Hope this helps.