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:
194
ID:
ACD66C5E
- Parameters:
report_spam (
bool
, optional) – Whether we can still report the user for spamadd_contact (
bool
, optional) – Whether we can add the user as contactblock_contact (
bool
, optional) – Whether we can block the usershare_contact (
bool
, optional) – Whether we can share the user’s contactneed_contacts_exception (
bool
, optional) – Whether a special exception for contacts is neededreport_geo (
bool
, optional) – Whether we can report a geogroup as irrelevant for this locationautoarchived (
bool
, optional) – Whether this peer was automatically archived according to privacy settings and can be unarchivedinvite_members (
bool
, optional) – If set, this is a recently created group chat to which new members can be invitedrequest_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).business_bot_paused (
bool
, optional)business_bot_can_reply (
bool
, optional)geo_distance (
int
32-bit
, optional) – Distance in meters between us and this peerrequest_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.business_bot_id (
int
64-bit
, optional)business_bot_manage_url (
str
, optional)