MCPcopy Index your code
hub / github.com/python-telegram-bot/python-telegram-bot / chat_permissions

Function chat_permissions

tests/test_chatpermissions.py:27–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26@pytest.fixture(scope="module")
27def chat_permissions():
28 return ChatPermissions(
29 can_send_messages=True,
30 can_send_polls=True,
31 can_send_other_messages=True,
32 can_add_web_page_previews=True,
33 can_change_info=True,
34 can_invite_users=True,
35 can_pin_messages=True,
36 can_manage_topics=True,
37 can_send_audios=True,
38 can_send_documents=True,
39 can_send_photos=True,
40 can_send_videos=True,
41 can_send_video_notes=True,
42 can_send_voice_notes=True,
43 can_edit_tag=True,
44 can_react_to_messages=True,
45 )
46
47
48class ChatPermissionsTestBase:

Callers

nothing calls this directly

Calls 1

ChatPermissionsClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…