> ## Documentation Index
> Fetch the complete documentation index at: https://docs.so-me.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# ইনবক্স

> প্ল্যাটফর্ম জুড়ে কথোপকথন, উত্তর ও সংরক্ষিত উত্তর পরিচালনা করুন

ইনবক্স কমান্ড দিয়ে আপনি টার্মিনাল থেকেই ইউনিফাইড সোশ্যাল ইনবক্স সামলাতে পারেন: কথোপকথনের তালিকা দেখুন, বার্তার থ্রেড পড়ুন, সেগুলো পঠিত/সমাধান হিসেবে চিহ্নিত করুন, টেক্সট ও মিডিয়াসহ উত্তর দিন, প্রতি অ্যাকাউন্টে ইনবক্স সাবস্ক্রিপশন চালু/বন্ধ করুন এবং পুনর্ব্যবহারযোগ্য সংরক্ষিত উত্তর পরিচালনা করুন।

> [!NOTE]
>
> সব কমান্ড [গ্লোবাল ফ্ল্যাগ](/bn/cli/overview.md#global-options) গ্রহণ করে: `--json` (ডিফল্ট) / `--table`, `--verbose`, `--api-key <key>` ও `--api-url <url>`। আপনার এনভায়রনমেন্টে `SOME_API_KEY` ও `SOME_API_URL`-ও সেট করতে পারেন।

## কথোপকথন

### inbox:list

ইনবক্সের কথোপকথনের তালিকা দেখুন।

```bash theme={null}
so-me inbox:list [options]
```

API এন্ডপয়েন্ট (`GET /v1/inbox/conversations`) শুধু পেজিনেশন করে — অন্য সব ফিল্টার (`--status`, `--platform`, `--type`, `--read`, `--unread`, `--search`) বর্তমান পেজে ক্লায়েন্ট-সাইডে প্রয়োগ হয়। ফিল্টার আরও বেশি কথোপকথনে কার্যকর করতে চাইলে `--limit` বাড়ান।

| অপশন | বিবরণ | ডিফল্ট |
| - | - | - |
| `--status <status>` | স্ট্যাটাস অনুযায়ী ফিল্টার: `resolved`, `unresolved`, `archived` | — |
| `--platform <platform>` | প্ল্যাটফর্ম অনুযায়ী ফিল্টার: `facebook`, `instagram`, `twitter`, `linkedin`, `tiktok`, `youtube`, `threads`, `whatsapp` | — |
| `--type <type>` | ধরন অনুযায়ী ফিল্টার: `message`, `comment`, `mention` | — |
| `--read` | শুধু পঠিত কথোপকথন দেখান | — |
| `--unread` | শুধু অপঠিত কথোপকথন দেখান | — |
| `--search <query>` | প্রেরকের নাম, বার্তার টেক্সট বা পেজের নাম দিয়ে অনুসন্ধান | — |
| `--limit <number>` | প্রতি পেজে কথোপকথন | `50` |
| `--page <number>` | পেজ নম্বর | `1` |

```bash উদাহরণ theme={null}
# Unresolved conversations
so-me inbox:list --status unresolved

# Facebook comments only
so-me inbox:list --platform facebook --type comment

# Only unread conversations
so-me inbox:list --unread

# Combine filters: unread Instagram messages
so-me inbox:list --platform instagram --unread --type message

# Search by sender / message / page name
so-me inbox:list --search "john"

# Widen the page so client-side filters cover more threads
so-me inbox:list --limit 100

# Page through results, table view
so-me inbox:list --page 2 --limit 50 --table
```

### inbox:messages

একটি কথোপকথন থ্রেডের বার্তা আনুন।

```bash theme={null}
so-me inbox:messages <thread-id>
```

**thread-id** `string` *required*

যে কথোপকথনের বার্তা আনতে চান তার থ্রেড ID।

```bash উদাহরণ theme={null}
# Fetch a thread's messages
so-me inbox:messages 550e8400-e29b-41d4-a716-446655440000

# Pull only the message bodies via jq
so-me inbox:messages 550e8400-... | jq '.[].message'
```

### inbox:read

একটি কথোপকথন পঠিত হিসেবে চিহ্নিত করুন (`isSeen: true` সেট করে)।

```bash theme={null}
so-me inbox:read <thread-id>
```

**thread-id** `string` *required*

যে কথোপকথন পঠিত হিসেবে চিহ্নিত করতে হবে তার থ্রেড ID।

```bash উদাহরণ theme={null}
# Mark a single conversation read
so-me inbox:read 550e8400-e29b-41d4-a716-446655440000

# Mark every unread conversation as read
so-me inbox:list --unread --limit 100 \
  | jq -r '.[].id' \
  | xargs -I {} so-me inbox:read {}
```

### inbox:resolve

একটি কথোপকথন সমাধান, অসমাধান বা আর্কাইভ হিসেবে চিহ্নিত করুন।

```bash theme={null}
so-me inbox:resolve <thread-id> --status <status>
```

**thread-id** `string` *required*

যে কথোপকথন আপডেট করতে হবে তার থ্রেড ID।

| অপশন | বিবরণ |
| - | - |
| `--status <status>` | নতুন স্ট্যাটাস: `resolved`, `unresolved`, `archived` **(আবশ্যক)** |

```bash উদাহরণ theme={null}
# Resolve a conversation
so-me inbox:resolve 550e8400-... --status resolved

# Re-open a conversation
so-me inbox:resolve 550e8400-... --status unresolved

# Archive a conversation
so-me inbox:resolve 550e8400-... --status archived
```

### inbox:delete

এক বা একাধিক কথোপকথন মুছুন। `--yes` না দিলে নিশ্চিতকরণ চায়। প্রতিটি থ্রেড আলাদাভাবে মোছা হয় এবং আংশিক ব্যর্থতা জানানো হয়।

```bash theme={null}
so-me inbox:delete <thread-ids...> [options]
```

**thread-ids** `string[]` *required*

মোছার জন্য এক বা একাধিক থ্রেড ID (স্পেস দিয়ে আলাদা)।

| অপশন | বিবরণ |
| - | - |
| `-y, --yes` | নিশ্চিতকরণ প্রম্পট এড়িয়ে যান |

```bash উদাহরণ theme={null}
# Delete a single conversation (prompts to confirm)
so-me inbox:delete 550e8400-e29b-41d4-a716-446655440000

# Delete several conversations without confirmation
so-me inbox:delete 550e8400-... 660e8400-... 770e8400-... --yes

# Delete all archived conversations
so-me inbox:list --status archived --limit 100 \
  | jq -r '.[].id' \
  | xargs so-me inbox:delete --yes
```

***

## উত্তর

### inbox:reply

টেক্সট, ফাইল বা দুটোসহ কথোপকথনে উত্তর দিন। `--message`, `--image`, `--video`, `--audio` বা `--file`-এর অন্তত একটি আবশ্যক। মিডিয়া ফ্ল্যাগগুলো টাইপ করা অ্যাটাচমেন্ট (`image`, `video`, `audio`, `document`) হিসেবে পাঠানো হয়।

```bash theme={null}
so-me inbox:reply <thread-id> [options]
```

**thread-id** `string` *required*

যে কথোপকথনে উত্তর দিতে হবে তার থ্রেড ID।

| অপশন | বিবরণ |
| - | - |
| `--message <text>` | উত্তরের টেক্সট বার্তা |
| `--image <urls...>` | সংযুক্ত করার ছবির URL (স্পেস দিয়ে আলাদা) |
| `--video <url>` | সংযুক্ত করার ভিডিও URL |
| `--audio <url>` | সংযুক্ত করার অডিও URL |
| `--file <url>` | সংযুক্ত করার ডকুমেন্ট URL |

```bash উদাহরণ theme={null}
# Text-only reply
so-me inbox:reply 550e8400-... --message "Thanks!"

# Text with an image
so-me inbox:reply 550e8400-... --message "Check this" --image https://cdn.example.com/photo.jpg

# Multiple images
so-me inbox:reply 550e8400-... --image https://cdn.example.com/1.jpg https://cdn.example.com/2.jpg

# Video attachment
so-me inbox:reply 550e8400-... --video https://cdn.example.com/clip.mp4

# Document attachment
so-me inbox:reply 550e8400-... --file https://cdn.example.com/doc.pdf

# Reply with an emoji
so-me inbox:reply 550e8400-... --message "Here you go 😊"
```

***

## সাবস্ক্রিপশন

এই কমান্ডগুলো অ্যাকাউন্ট ID (UUID) অথবা প্ল্যাটফর্মের নাম (যেমন `twitter`, `facebook`) গ্রহণ করে। কোনো প্ল্যাটফর্মের নাম একাধিক সংযুক্ত অ্যাকাউন্টের সাথে মিললে CLI একটি বেছে নিতে বলে। মিলে যাওয়া কোনো অ্যাকাউন্ট না থাকলে `inbox:subscribe` / `inbox:unsubscribe` সফলভাবে বেরিয়ে যায় এবং আগে একটি সংযুক্ত করার ইঙ্গিত দেয়।

### inbox:subscribe

একটি সোশ্যাল অ্যাকাউন্টের জন্য ইনবক্স চালু করুন, যাতে এটি বার্তা, মন্তব্য ও মেনশন পেতে শুরু করে।

```bash theme={null}
so-me inbox:subscribe <id-or-platform>
```

**id-or-platform** `string` *required*

অ্যাকাউন্ট ID (UUID) অথবা প্ল্যাটফর্মের নাম (`twitter`, `facebook` ইত্যাদি)।

```bash উদাহরণ theme={null}
# Enable by platform name
so-me inbox:subscribe facebook

# Enable by account ID
so-me inbox:subscribe 550e8400-e29b-41d4-a716-446655440000
```

### inbox:unsubscribe

একটি সোশ্যাল অ্যাকাউন্টের জন্য ইনবক্স বন্ধ করুন।

```bash theme={null}
so-me inbox:unsubscribe <id-or-platform>
```

**id-or-platform** `string` *required*

অ্যাকাউন্ট ID (UUID) অথবা প্ল্যাটফর্মের নাম (`twitter`, `facebook` ইত্যাদি)।

```bash উদাহরণ theme={null}
# Disable by platform name
so-me inbox:unsubscribe twitter

# Disable by account ID
so-me inbox:unsubscribe 550e8400-e29b-41d4-a716-446655440000
```

### inbox:enable

[`inbox:subscribe`](#inboxsubscribe)-এর অ্যালিয়াস।

```bash theme={null}
so-me inbox:enable <id-or-platform>
```

**id-or-platform** `string` *required*

অ্যাকাউন্ট ID (UUID) অথবা প্ল্যাটফর্মের নাম।

```bash উদাহরণ theme={null}
so-me inbox:enable instagram
```

### inbox:disable

[`inbox:unsubscribe`](#inboxunsubscribe)-এর অ্যালিয়াস।

```bash theme={null}
so-me inbox:disable <id-or-platform>
```

**id-or-platform** `string` *required*

অ্যাকাউন্ট ID (UUID) অথবা প্ল্যাটফর্মের নাম।

```bash উদাহরণ theme={null}
so-me inbox:disable instagram
```

***

## সংরক্ষিত উত্তর

সংরক্ষিত উত্তর হলো পুনর্ব্যবহারযোগ্য উত্তরের টেমপ্লেট, যাতে ফাইল সংযুক্ত করা যায় এবং ইনবক্সে টেনে আনা যায়।

### inbox:saved-replies

সব সংরক্ষিত উত্তরের তালিকা দেখুন, অথবা ID দিয়ে একটি সংরক্ষিত উত্তর আনুন।

```bash theme={null}
so-me inbox:saved-replies [id]
```

**id** `string`

ঐচ্ছিক সংরক্ষিত উত্তরের ID। দিলে ওই একটি উত্তরের বিবরণ ফেরত আসে; না দিলে সব সংরক্ষিত উত্তরের তালিকা আসে।

```bash উদাহরণ theme={null}
# List all saved replies
so-me inbox:saved-replies

# Get one saved reply by ID
so-me inbox:saved-replies 7c2d4e8f-1234-5678-9abc-def012345678

# List as a table
so-me inbox:saved-replies --table
```

### inbox:create-reply

টেক্সট, ফাইল বা দুটোসহ একটি সংরক্ষিত উত্তর তৈরি করুন। `--text` বা `--file`-এর অন্তত একটি আবশ্যক।

```bash theme={null}
so-me inbox:create-reply [options]
```

| অপশন | বিবরণ |
| - | - |
| `--text <text>` | উত্তরের টেক্সট কনটেন্ট |
| `--file <file-ids...>` | সংযুক্ত করার ফাইল ID (সর্বোচ্চ ৪টি ছবি, স্পেস দিয়ে আলাদা) |

```bash উদাহরণ theme={null}
# Text-only saved reply
so-me inbox:create-reply --text "Thanks for reaching out!"

# Text with an attached file
so-me inbox:create-reply --text "Check this out" --file 7c2d4e8f-...

# Multiple file attachments
so-me inbox:create-reply --file 7c2d4e8f-... 8d3e5f9a-...
```

### inbox:edit-reply

একটি সংরক্ষিত উত্তর সম্পাদনা করুন। `--text` বা `--file`-এর অন্তত একটি আবশ্যক।

```bash theme={null}
so-me inbox:edit-reply <id> [options]
```

**id** `string` *required*

আপডেট করার সংরক্ষিত উত্তরের ID।

| অপশন | বিবরণ |
| - | - |
| `--text <text>` | নতুন উত্তরের টেক্সট |
| `--file <file-ids...>` | নতুন ফাইল ID (বিদ্যমানগুলো প্রতিস্থাপন করে, সর্বোচ্চ ৪টি ছবি, স্পেস দিয়ে আলাদা) |

```bash উদাহরণ theme={null}
# Update the text
so-me inbox:edit-reply 7c2d4e8f-... --text "Updated response"

# Replace the attached files
so-me inbox:edit-reply 7c2d4e8f-... --file 8d3e5f9a-... 9e4f6a0b-...
```

### inbox:delete-reply

এক বা একাধিক সংরক্ষিত উত্তর মুছুন। `--yes` না দিলে নিশ্চিতকরণ চায়। প্রতিটি উত্তর আলাদাভাবে মোছা হয় এবং আংশিক ব্যর্থতা জানানো হয়।

```bash theme={null}
so-me inbox:delete-reply <ids...> [options]
```

**ids** `string[]` *required*

মোছার জন্য এক বা একাধিক সংরক্ষিত উত্তরের ID (স্পেস দিয়ে আলাদা)।

| অপশন | বিবরণ |
| - | - |
| `-y, --yes` | নিশ্চিতকরণ প্রম্পট এড়িয়ে যান |

```bash উদাহরণ theme={null}
# Delete a single saved reply (prompts to confirm)
so-me inbox:delete-reply 7c2d4e8f-...

# Delete several without confirmation
so-me inbox:delete-reply 7c2d4e8f-... 8d3e5f9a-... --yes

# Delete every saved reply
so-me inbox:saved-replies \
  | jq -r '.[].id' \
  | xargs so-me inbox:delete-reply --yes
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.