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

Class ChatBoostDefaults

tests/test_chatboost.py:43–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42
43class ChatBoostDefaults:
44 source = ChatBoostSource.PREMIUM
45 chat_id = 1
46 boost_id = "2"
47 giveaway_message_id = 3
48 is_unclaimed = False
49 chat = Chat(1, "group")
50 user = User(1, "user", False)
51 date = dtm.datetime.now(dtm.timezone.utc).replace(microsecond=0)
52 default_source = ChatBoostSourcePremium(user)
53 prize_star_count = 99
54 boost = ChatBoost(
55 boost_id=boost_id,
56 add_date=date,
57 expiration_date=date,
58 source=default_source,
59 )
60
61
62@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls 4

ChatClass · 0.90
UserClass · 0.90
ChatBoostClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…