Commit 090b36f
committed
feat: expose birthday in get_full_user
Telethon's UserFull has a 'birthday' field for Premium users who set it
and allow contacts to see it. Surface it from get_full_user so MCP
consumers can read birthday data alongside other profile fields.
Format:
- ISO 8601 'YYYY-MM-DD' when year is present
- vCard RFC 6350 style '--MM-DD' for year-less dates
- None when birthday is unavailable or the user is not Premium /
has not shared it1 parent c75ae22 commit 090b36f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
271 | 288 | | |
272 | 289 | | |
273 | 290 | | |
| |||
276 | 293 | | |
277 | 294 | | |
278 | 295 | | |
| 296 | + | |
279 | 297 | | |
280 | 298 | | |
281 | 299 | | |
| |||
0 commit comments