def send_attachment(id, text, attachment):
vk_session.method('messages.send', {'peer_id' : id3, 'message' : text, 'attachment': attachment , 'random_id' : 0})
{'count': 6871340, 'items': [{'can_comment': 1, 'can_like': 1, 'can_repost': 1, 'can_subscribe': 1, 'can_add_to_faves': 1, 'can_add': 1, 'comments': 6, 'date': 1583256001, 'description': 'Праздничные предложения в М.Видео11111', 'duration': 15, 'photo_130': 'https://sun1-94.userapi.com/H_z6iR535j7Wvj10Fhhnn6_DYVbrluVcYG3evg/M8c_uYYhuoA.jpg', 'photo_320': 'https://sun1-91.userapi.com/ogHd17IWED5bMFrgM-8c3Q--tN-OuH52eT-9Sw/i1R0ohcRpx0.jpg', 'photo_800': 'https://sun1-91.userapi.com/SphmI9ta4FF62dH2IzrdEln9TFwgw1vrNZ8SLw/_SHmeV0wJXk.jpg', 'photo_1280': 'https://sun1-87.userapi.com/GDgmEMCf6v4qAA-xZ4NWBUuMr1w1WyFrdUwTMg/ovOTPa2p1DQ.jpg', 'first_frame_130': 'https://sun1-97.userapi.com/WROUvfPkXC_xDWj_hX5Gt8y0MWrMDp65Z8mAMg/D6DSd-qLkx0.jpg', 'first_frame_160': 'https://sun1-94.userapi.com/THVC3_XrD45pB7OwlC93eSAyXWcToKB3BmxkSA/j0M7De4DmUk.jpg', 'first_frame_320': 'https://sun1-93.userapi.com/BqeWkSjjqx27M6N8oh_3jnO6xMUF2xNytajgjg/NyerhUyCzSY.jpg', 'first_frame_800': 'https://sun1-26.userapi.com/o5JML_FCYUavFnW8eEU5b_l2g_wikJ1iosL_yA/tfPYPqMAmnM.jpg', 'first_frame_1280': 'https://sun1-30.userapi.com/obG6QKwKRzSWf5e6KukmY-hzAvPGAa9E6IrJ4Q/EjRdReyty_E.jpg', 'width': 1920, 'height': 1080, 'id': 456240018, 'owner_id': -14524722, 'title': 'Праздничные предложения в М.Видео', 'is_favorite': False, 'player': 'https://vk.com/video_ext.php?oid=-14524722&id=456240018&hash=18fc4d3d5ba17d80&__ref=vk.admin_android&api_hash=1596710593af38134603c16dae9b_GM3DQNRYGY2DGNA', 'track_code': 'video_b57f454bmlz9kQiytb0doNOwrRNJ71aHXRH05ww_-2YLHNFIZk_9INCgPIJFYc53D--ZJn_dYrc', 'views': 17544779, 'likes': {'count': 72, 'user_likes': 0}, 'reposts': {'count': 2, 'user_reposted': 0}, 'files': {'mp4_240': 'https://cs1-68v4.vkuservideo.net/p24/b0f35279dfa0.240.mp4?extra=a9JKJnBa36a_i18qR4-5tr4kXOGI9JmzzWy0w-ZNPr3mrmuxTAISlXeUPS-kKAU2VtXebH3mko43z1TAHYotL9sN3AT3b5hWp-Slb39xtbEqJv56gu7Yj-ZXR9R0x5gr2SchWgMkKhnfoyVyxKfoQ8w', 'mp4_360': 'https://cs9-9v4.vkuservideo.net/p2/b0f35279dfa0.360.mp4?extra=bo1HrSkM1OgXc9kkx48lUO7WHmQErMCmLP6v3hBvY6deDYffDpXm2ac-7b8QpLBuvsbiO41b4k2_S5WglzApe0IrC78m3HvvE3CvaG1biu9GDpW4ZHRC3t5gdpT7eDFXlqz17-U-tB7MsTjBw0TlFJw', 'mp4_480': 'https://cs9-11v4.vkuservideo.net/p2/b0f35279dfa0.480.mp4?extra=bo1HrSkM1OgXc9kkx48lUO7WHmQErMCmLP6v3hBvY6deDYffDpXm2ac-7b8QpLBuvsbiO41b4k2_S5WglzApe0IrC78m3HvvE3CvaG1biu9GDpW4ZHRC3t5gdpT7eDFXlqz17-U-tB7MsTjBw0TlFJw', 'mp4_720': 'https://pvv4.vkuservideo.net/c522104/12/e6bOjY8PT07OzQ5/videos/bfb06388b8.720.mp4?extra=LkLl0HCx7hFYtCVPbsKiLHdQSp4fluEhIHt_ocxGbFG01duBTDVgSbGf_PvNOhsYFpJtsWph6CKVca8yg0SSAyR4Fpb3ABBuhnBC45abu18QbTGR4LgIG-Uw2Kmqx8gL7BJ2PG9q6F_sD-r_9jSlcSg', 'mp4_1080': 'https://cs9-14v4.vkuservideo.net/p4/b0f35279dfa0.1080.mp4?extra=ExhgsbPW9XnpfCoCL28sVy7Jqw2dyDJw_nmGpqRS2PeFfHrKMFVfgJ0j7Hd_s0GCftz2I1aRJmvk-3xfEPig4hUryQe7WjGQjTDxyglDlwayq8ntDOU7-TWUgGocvhjj40W7Gepv0g58OoiDze5xXuk', 'hls': 'https://vk.com/video_hls.php?dirs%5B720%5D=https%3A%2F%2Fpvv4.vkuservideo.net%2Fc522104%2F12%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&dirs%5B1080%5D=https%3A%2F%2Fpvv4.vkuservideo.net%2Fc573500%2F1%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&dirs%5B240%5D=https%3A%2F%2Fpvv4.vkuservideo.net%2Fc573404%2F4%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&dirs%5B360%5D=https%3A%2F%2Fpvv4.vkuservideo.net%2Fc573404%2F4%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&dirs%5B480%5D=https%3A%2F%2Fpvv4.vkuservideo.net%2Fc522400%2F11%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&path=11%2Fe6bOjY8PT07OzQ5%2Fvideos%2F&extra=LkLl0HCx7hFYtCVPbsKiLHFQVJ4FkuA7Jn15o5hXKUDh0NiERTRmS7-f9fvTbhEZE5Nos2p96CKSZ6g5m0GVAyYgB877BxNkhH9G5YnMqhoBODSS5bEJHec-2KCq2ZwB7Rd3OW077F26DLmv9mvydy0&c_extra=BoZ0ifj8O2aivK8jv61HgWoSbQmyUlU_9RQZghCcQOziSGv6crJDKc8IUlLjhZ_MjwXrGbhrhHf410-a_6pExX_lNMAzJGBQ_PBSh64f5dB_5aLwGGew0xZeZlyOa3ZK4K4_iZu57yKm_WtL730UPxM&video=-14524722_456240018&tag=bfb06388b8&c_tag=b0f35279dfa0&hash=18d4b3d3aedac1bffa&lang_id=0'}, 'timeline_thumbs': {'count_per_image': 100, 'count_per_row': 10, 'count_total': 15, 'frame_height': 200, 'frame_width': 356.0, 'links': ['https://sun1-20.userapi.com/c858532/v858532698/102bb8/Qc9Lw6Ryars.jpg']}, 'ads': {'slot_id': 551874, 'timeout': 1.0, 'can_play': 1, 'params': {'vk_id': 368686434, 'duration': 15, 'video_id': '-14524722_456240018', 'pl': 21469, 'content_id': 100549514, 'lang': 0, 'puid1': 986, 'puid2': 17, 'puid3': 1, 'puid4': 3, 'puid5': 14, 'puid6': 86, 'puid7': 1, 'puid9': 0, 'puid10': 4, 'puid12': 16, 'puid13': 2, 'puid14': 2, 'puid15': 0, 'puid18': 0, 'puid21': 2, 'sign': 'b85d46b45f1bf47fc14a4bdc81060b3098309b6c', 'vk_catid': 1}, 'sections': ['preroll', 'midroll', 'postroll'], 'midroll_percents': [0.25, 0.75]}}]}