이 모듈은 요청 및 응답 데이터 구조를 위한 Pydantic 모델을 제공합니다.
X API의 direct messages 엔드포인트를 위한 것입니다. 모든 모델은
OpenAPI 명세에서 생성되며 타입 안전성과 검증을 제공합니다.
class xdk.direct_messages.models.CreateByConversationIdRequest
create_by_conversation_id에 대한 요청 모델
Default: {'populate_by_name': True, 'validate_by_alias': True, 'validate_by_name': True}Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
CreateByConversationIdResponse
Class
기반 클래스: BaseModel
create_by_conversation_id에 대한 응답 모델
메서드
class xdk.direct_messages.models.CreateByConversationIdResponse
create_by_conversation_id에 대한 응답 모델
class xdk.direct_messages.models.CreateByParticipantIdResponse
create_by_participant_id에 대한 응답 모델
class xdk.direct_messages.models.CreateConversationResponse
create_conversation에 대한 응답 모델
class xdk.direct_messages.models.DeleteEventsResponse
delete_events에 대한 응답 모델
class xdk.direct_messages.models.GetEventsByConversationIdResponse
get_events_by_conversation_id에 대한 응답 모델
class xdk.direct_messages.models.GetEventsByIdResponse
get_events_by_id에 대한 응답 모델
class xdk.direct_messages.models.GetEventsByParticipantIdResponse
get_events_by_participant_id에 대한 응답 모델
class xdk.direct_messages.models.GetEventsResponse
get_events에 대한 응답 모델