diff --git a/matrix_appservice_kakaotalk/kt/types/user/channel_user_info.py b/matrix_appservice_kakaotalk/kt/types/user/channel_user_info.py index 2f44a7a..42908e9 100644 --- a/matrix_appservice_kakaotalk/kt/types/user/channel_user_info.py +++ b/matrix_appservice_kakaotalk/kt/types/user/channel_user_info.py @@ -13,6 +13,8 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from typing import Optional + from attr import dataclass from ..openlink.open_link_type import OpenChannelUserPerm @@ -36,12 +38,12 @@ class ChannelUserInfo(DisplayUserInfo): @dataclass class NormalChannelUserInfo(ChannelUserInfo): - countryIso: str accountId: int statusMessage: str linkedServices: str ut: int - suspended: bool + countryIso: Optional[str] = None # NOTE Made optional + suspended: Optional[bool] = None # NOTE Made optional @dataclass