Add String Representation for RequestParameter (#3634)

This commit is contained in:
Harshil 2023-03-28 01:33:02 +05:30 committed by GitHub
parent 11f86b8813
commit 53abb7b4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ from telegram._utils.enum import StringEnum
from telegram._utils.types import UploadFileDict
@dataclass(repr=False, eq=False, order=False, frozen=True)
@dataclass(repr=True, eq=False, order=False, frozen=True)
class RequestParameter:
"""Instances of this class represent a single parameter to be sent along with a request to
the Bot API.