PeerSettings#
- class pyrogram.raw.types.PeerSettings#
- List of actions that are possible when interacting with this user, to be shown as suggested actions in the chat action bar », see here » for more info. - Constructor of - PeerSettings.- Details:
- Layer: - 158
- ID: - A518110D
 
 - Parameters:
- report_spam ( - bool, optional) – Whether we can still report the user for spam.
- add_contact ( - bool, optional) – Whether we can add the user as contact.
- block_contact ( - bool, optional) – Whether we can block the user.
- share_contact ( - bool, optional) – Whether we can share the user’s contact.
- need_contacts_exception ( - bool, optional) – Whether a special exception for contacts is needed.
- report_geo ( - bool, optional) – Whether we can report a geogroup as irrelevant for this location.
- autoarchived ( - bool, optional) – Whether this peer was automatically archived according to privacy settings and can be unarchived.
- invite_members ( - bool, optional) – If set, this is a recently created group chat to which new members can be invited.
- request_chat_broadcast ( - bool, optional) – This flag is set if request_chat_title and request_chat_date fields are set and the join request » is related to a channel (otherwise if only the request fields are set, the join request » is related to a chat).
- geo_distance ( - int- 32-bit, optional) – Distance in meters between us and this peer.
- request_chat_title ( - str, optional) – If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the chat/channel’s title.
- request_chat_date ( - int- 32-bit, optional) – If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the timestamp when the join request » was sent.