You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this method to approve a suggested post in a direct messages chat. The bot must have the 'can_post_messages' administrator right in the corresponding channel chat. Returns True on success.
Use this method to approve a suggested post in a direct messages chat. The bot must have the 'can_post_messages' administrator right in the corresponding channel chat. Returns True on success.
@@ -13130,18 +13131,24 @@ class SuggestedPostApprovalFailed(JsonDeserializable):
13130
13131
:param suggested_post_message: Optional. Message containing the suggested post whose approval has failed. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
@@ -13153,6 +13160,9 @@ class SuggestedPostDeclined(JsonDeserializable):
13153
13160
:param suggested_post_message: Optional. Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.
13154
13161
:type suggested_post_message: :class:`Message`
13155
13162
13163
+
:param comment: Optional. Comment with which the post was declined
13164
+
:type comment: :obj:`str`
13165
+
13156
13166
:return: Instance of the class
13157
13167
:rtype: :class:`SuggestedPostDeclined`
13158
13168
"""
@@ -13221,9 +13231,9 @@ class SuggestedPostRefunded(JsonDeserializable):
0 commit comments