DirectMessagesClient
コンストラクタ
__init__
パラメーター
create_by_conversation_id
パラメーター
DM会話ID。
リクエストボディ
create_by_participant_id
指定した参加者のid宛てに、新しいダイレクトメッセージを送信します。
パラメーター
DMを受信するユーザーのID。
リクエストボディ
create_conversation
パラメータ
delete_events
パラメーター
削除対象のダイレクトメッセージイベントのID。
戻り値
DeleteEventsResponse - レスポンスデータ
get_events
パラメーター
返される結果の最大数。
結果の特定の「ページ」を取得するために使用されるパラメーター。
結果に含める event_types のセット。
表示する DmEvent フィールドのカンマ区切りのリスト。
展開するフィールドのカンマ区切りのリスト。
表示する Media フィールドのカンマ区切りのリスト。
表示する User フィールドのカンマ区切りのリスト。
表示する Tweet フィールドのカンマ区切りのリスト。
戻り値
IteratorGetEventsResponse
get_events_by_conversation_id
パラメーター
DM会話のID。
結果の最大件数。
結果の特定の「ページ」を取得するために使用するパラメーターです。
結果に含める event_types の集合。
表示する DmEvent フィールドのカンマ区切りリスト。
展開するフィールドのカンマ区切りリスト。
表示する Media フィールドのカンマ区切りリスト。
表示する User フィールドのカンマ区切りリスト。
表示する Tweet フィールドのカンマ区切りリスト。
戻り値
IteratorGetEventsByConversationIdResponse
get_events_by_id
パラメータ
DM イベントの id。
表示する DmEvent フィールドのカンマ区切りリスト。
展開するフィールドのカンマ区切りリスト。
表示する Media フィールドのカンマ区切りリスト。
表示する User フィールドのカンマ区切りリスト。
表示する Tweet フィールドのカンマ区切りリスト。
戻り値
GetEventsByIdResponse - レスポンスデータ
get_events_by_participant_id
パラメーター
1対1のDM会話の参加ユーザーのID。
結果の最大数。
指定した「ページ」の結果を取得するために使用するパラメーター。
結果に含める event_types の集合。
表示する DmEvent フィールドのカンマ区切りリスト。
展開するフィールドのカンマ区切りリスト。
表示する Media フィールドのカンマ区切りリスト。
表示する User フィールドのカンマ区切りリスト。
表示する Tweet フィールドのカンマ区切りリスト。
戻り値
IteratorGetEventsByParticipantIdResponse